aws-sdk-pi 1.53.0 → 1.55.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pi/client.rb +77 -49
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bb29212d6590fa1c1fefeb83314dabc18a5712c09650d56e6f46d24bf26a25e
|
4
|
+
data.tar.gz: fede389f2ea94133f2c601640cae3a717162678a73bc8316064215c5bbe1ef62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c3bf0faae2b03357f90608457c599f780ef5bee177de2fc94752817bc9c2644b16a86a48234d28c1e747b6020471b20b09562c54d34de0488b2197734c36684
|
7
|
+
data.tar.gz: 12f133cccd517d267e1504a1874e82467b3cd44578fe81dec70cddcf4fcd172eccf6cfcaa199b383ca870b6f5b77ab7ccafa43abdf06f2716290230a3b712a2b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.55.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.54.0 (2024-04-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API.
|
13
|
+
|
4
14
|
1.53.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
data/lib/aws-sdk-pi/client.rb
CHANGED
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::PI
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::PI
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -347,50 +356,65 @@ module Aws::PI
|
|
347
356
|
# @option options [Aws::PI::EndpointProvider] :endpoint_provider
|
348
357
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::PI::EndpointParameters`
|
349
358
|
#
|
350
|
-
# @option options [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
359
|
+
# @option options [Float] :http_continue_timeout (1)
|
360
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
361
|
+
# request body. This option has no effect unless the request has "Expect"
|
362
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
363
|
+
# behaviour. This value can safely be set per request on the session.
|
364
|
+
#
|
365
|
+
# @option options [Float] :http_idle_timeout (5)
|
366
|
+
# The number of seconds a connection is allowed to sit idle before it
|
367
|
+
# is considered stale. Stale connections are closed and removed from the
|
368
|
+
# pool before making a request.
|
369
|
+
#
|
370
|
+
# @option options [Float] :http_open_timeout (15)
|
371
|
+
# The default number of seconds to wait for response data.
|
372
|
+
# This value can safely be set per-request on the session.
|
373
|
+
#
|
374
|
+
# @option options [URI::HTTP,String] :http_proxy
|
375
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
376
|
+
#
|
377
|
+
# @option options [Float] :http_read_timeout (60)
|
378
|
+
# The default number of seconds to wait for response data.
|
379
|
+
# This value can safely be set per-request on the session.
|
380
|
+
#
|
381
|
+
# @option options [Boolean] :http_wire_trace (false)
|
382
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
383
|
+
#
|
384
|
+
# @option options [Proc] :on_chunk_received
|
385
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
386
|
+
# of the response body is received. It provides three arguments: the chunk,
|
387
|
+
# the number of bytes received, and the total number of
|
388
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
389
|
+
#
|
390
|
+
# @option options [Proc] :on_chunk_sent
|
391
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
392
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
393
|
+
# the number of bytes read from the body, and the total number of
|
394
|
+
# bytes in the body.
|
395
|
+
#
|
396
|
+
# @option options [Boolean] :raise_response_errors (true)
|
397
|
+
# When `true`, response errors are raised.
|
398
|
+
#
|
399
|
+
# @option options [String] :ssl_ca_bundle
|
400
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
401
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
402
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
403
|
+
#
|
404
|
+
# @option options [String] :ssl_ca_directory
|
405
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
406
|
+
# authority files for verifying peer certificates. If you do
|
407
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
408
|
+
# default will be used if available.
|
375
409
|
#
|
376
|
-
# @option options [
|
377
|
-
#
|
410
|
+
# @option options [String] :ssl_ca_store
|
411
|
+
# Sets the X509::Store to verify peer certificate.
|
378
412
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# connection.
|
413
|
+
# @option options [Float] :ssl_timeout
|
414
|
+
# Sets the SSL timeout in seconds
|
382
415
|
#
|
383
|
-
# @option options [
|
384
|
-
#
|
385
|
-
# verifying peer certificates. If you do not pass
|
386
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
387
|
-
# will be used if available.
|
388
|
-
#
|
389
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
390
|
-
# directory that contains the unbundled SSL certificate
|
391
|
-
# authority files for verifying peer certificates. If you do
|
392
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
393
|
-
# system default will be used if available.
|
416
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
417
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
394
418
|
#
|
395
419
|
def initialize(*args)
|
396
420
|
super
|
@@ -883,7 +907,8 @@ module Aws::PI
|
|
883
907
|
|
884
908
|
# Retrieve Performance Insights metrics for a set of data sources over a
|
885
909
|
# time period. You can provide specific dimension groups and dimensions,
|
886
|
-
# and provide
|
910
|
+
# and provide filtering criteria for each group. You must specify an
|
911
|
+
# aggregate function for each metric.
|
887
912
|
#
|
888
913
|
# <note markdown="1"> Each response element returns a maximum of 500 bytes. For larger
|
889
914
|
# elements, such as SQL statements, only the first 500 bytes are
|
@@ -911,8 +936,11 @@ module Aws::PI
|
|
911
936
|
#
|
912
937
|
# @option params [required, Array<Types::MetricQuery>] :metric_queries
|
913
938
|
# An array of one or more queries to perform. Each query must specify a
|
914
|
-
# Performance Insights metric
|
915
|
-
#
|
939
|
+
# Performance Insights metric and specify an aggregate function, and you
|
940
|
+
# can provide filtering criteria. You must append the aggregate function
|
941
|
+
# to the metric. For example, to find the average for the metric
|
942
|
+
# `db.load` you must use `db.load.avg`. Valid values for aggregate
|
943
|
+
# functions include `.avg`, `.min`, `.max`, and `.sum`.
|
916
944
|
#
|
917
945
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
918
946
|
# The date and time specifying the beginning of the requested time
|
@@ -1372,7 +1400,7 @@ module Aws::PI
|
|
1372
1400
|
params: params,
|
1373
1401
|
config: config)
|
1374
1402
|
context[:gem_name] = 'aws-sdk-pi'
|
1375
|
-
context[:gem_version] = '1.
|
1403
|
+
context[:gem_version] = '1.55.0'
|
1376
1404
|
Seahorse::Client::Request.new(handlers, context)
|
1377
1405
|
end
|
1378
1406
|
|
@@ -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.55.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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|