aws-sdk-pi 1.74.0 → 1.76.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71fadeeb3b4d3042d1dc160c27369d3118a18079a2cd276191c51b589afb92f4
4
- data.tar.gz: b2bff634a6c0fd0855f9f5bdca6c8543223fab1265956b4b1f62a3e68a2261e4
3
+ metadata.gz: 974a9e58a4a9a4821c4c3223fa5fb39885c01351fb360470bb699046ea08053d
4
+ data.tar.gz: ff3cb3a7281b45936fe317d059a1505de73c13326254f5370cee58d917898278
5
5
  SHA512:
6
- metadata.gz: 2a2fd42ba5220e3aff5abee28b67106eaeb67d00c7a7632565534a5e42451ef0b021d8b54d1c7b8bd4c0f5c58a8457b0c1969c00a2db86d226f45fc024636a34
7
- data.tar.gz: 07ece8b413d908a17e6463a2e0733dcde93d2b6cec25ccc100436d57ce8fcdcef8f658c0bfebd1ff536154581eff9825f39172c66258a696a469b052bee56e06
6
+ metadata.gz: e63e207f2521d7997ef9dec0342a00ed56cc10f91c6b57618a6c826d7fa59517cd46122237adeb9c7f96de941174bc1ba1b649aacaf556ce2feecc9a91c3667f
7
+ data.tar.gz: 1f67a694bfb3534a3c12dea16b32aee975ce54e3574932340ff420e74524aa264b31d68a53c333b5769c306afb973f2e719bba80417bf847ea5cb518f5101111
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2025-02-11)
5
+ ------------------
6
+
7
+ * Feature - Documentation only update for RDS Performance Insights dimensions for execution plans and locking analysis.
8
+
9
+ 1.75.0 (2025-02-07)
10
+ ------------------
11
+
12
+ * Feature - Adds documentation for dimension groups and dimensions to analyze locks for Database Insights.
13
+
4
14
  1.74.0 (2025-02-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.76.0
@@ -666,6 +666,8 @@ module Aws::PI
666
666
  # digests. The response syntax is as follows: `"AdditionalMetrics" : {
667
667
  # "string" : "string" }`.
668
668
  #
669
+ # The only supported statistic function is `.avg`.
670
+ #
669
671
  # @option params [Types::DimensionGroup] :partition_by
670
672
  # For each dimension specified in `GroupBy`, specify a secondary
671
673
  # dimension to further subdivide the partition keys in the response.
@@ -762,7 +764,8 @@ module Aws::PI
762
764
  # `GetDimensionKeyDetails` retrieves the full text of the dimension
763
765
  # `db.sql.statement` associated with this ID. This operation is useful
764
766
  # because `GetResourceMetrics` and `DescribeDimensionKeys` don't
765
- # support retrieval of large SQL statement text.
767
+ # support retrieval of large SQL statement text, lock snapshots, and
768
+ # execution plans.
766
769
  #
767
770
  # @option params [required, String] :service_type
768
771
  # The Amazon Web Services service for which Performance Insights returns
@@ -779,6 +782,10 @@ module Aws::PI
779
782
  # specified group for the dimension group ID. The following group name
780
783
  # values are valid:
781
784
  #
785
+ # * `db.execution_plan` (Amazon RDS and Aurora only)
786
+ #
787
+ # * `db.lock_snapshot` (Aurora only)
788
+ #
782
789
  # * `db.query` (Amazon DocumentDB only)
783
790
  #
784
791
  # * `db.sql` (Amazon RDS and Aurora only)
@@ -788,16 +795,32 @@ module Aws::PI
788
795
  # details. For dimension group `db.sql`, the group ID is `db.sql.id`.
789
796
  # The following group ID values are valid:
790
797
  #
798
+ # * `db.execution_plan.id` for dimension group `db.execution_plan`
799
+ # (Aurora and RDS only)
800
+ #
791
801
  # * `db.sql.id` for dimension group `db.sql` (Aurora and RDS only)
792
802
  #
793
803
  # * `db.query.id` for dimension group `db.query` (DocumentDB only)
794
804
  #
805
+ # * For the dimension group `db.lock_snapshot`, the `GroupIdentifier` is
806
+ # the epoch timestamp when Performance Insights captured the snapshot,
807
+ # in seconds. You can retrieve this value with the
808
+ # `GetResourceMetrics` operation for a 1 second period.
809
+ #
795
810
  # @option params [Array<String>] :requested_dimensions
796
811
  # A list of dimensions to retrieve the detail data for within the given
797
812
  # dimension group. If you don't specify this parameter, Performance
798
813
  # Insights returns all dimension data within the specified dimension
799
814
  # group. Specify dimension names for the following dimension groups:
800
815
  #
816
+ # * `db.execution_plan` - Specify the dimension name
817
+ # `db.execution_plan.raw_plan` or the short dimension name `raw_plan`
818
+ # (Amazon RDS and Aurora only)
819
+ #
820
+ # * `db.lock_snapshot` - Specify the dimension name
821
+ # `db.lock_snapshot.lock_trees` or the short dimension name
822
+ # `lock_trees`. (Aurora only)
823
+ #
801
824
  # * `db.sql` - Specify either the full dimension name `db.sql.statement`
802
825
  # or the short dimension name `statement` (Aurora and RDS only).
803
826
  #
@@ -906,12 +929,16 @@ module Aws::PI
906
929
  # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.display_name #=> String
907
930
  # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.dimensions #=> Hash
908
931
  # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.dimensions["DescriptiveString"] #=> String
932
+ # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.filter #=> Hash
933
+ # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.filter["DescriptiveString"] #=> String
909
934
  # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.value #=> Float
910
935
  # resp.analysis_report.insights[0].baseline_data #=> Array
911
936
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.metric #=> String
912
937
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.display_name #=> String
913
938
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.dimensions #=> Hash
914
939
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.dimensions["DescriptiveString"] #=> String
940
+ # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.filter #=> Hash
941
+ # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.filter["DescriptiveString"] #=> String
915
942
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.value #=> Float
916
943
  #
917
944
  # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetPerformanceAnalysisReport AWS API Documentation
@@ -1040,10 +1067,7 @@ module Aws::PI
1040
1067
  # data points in the response.
1041
1068
  #
1042
1069
  # @option params [Integer] :max_results
1043
- # The maximum number of items to return in the response. If more items
1044
- # exist than the specified `MaxRecords` value, a pagination token is
1045
- # included in the response so that the remaining results can be
1046
- # retrieved.
1070
+ # The maximum number of items to return in the response.
1047
1071
  #
1048
1072
  # @option params [String] :next_token
1049
1073
  # An optional pagination token provided by a previous request. If this
@@ -1476,7 +1500,7 @@ module Aws::PI
1476
1500
  tracer: tracer
1477
1501
  )
1478
1502
  context[:gem_name] = 'aws-sdk-pi'
1479
- context[:gem_version] = '1.74.0'
1503
+ context[:gem_version] = '1.76.0'
1480
1504
  Seahorse::Client::Request.new(handlers, context)
1481
1505
  end
1482
1506
 
@@ -382,6 +382,7 @@ module Aws::PI
382
382
  PerformanceInsightsMetric.add_member(:metric, Shapes::ShapeRef.new(shape: DescriptiveString, location_name: "Metric"))
383
383
  PerformanceInsightsMetric.add_member(:display_name, Shapes::ShapeRef.new(shape: DescriptiveString, location_name: "DisplayName"))
384
384
  PerformanceInsightsMetric.add_member(:dimensions, Shapes::ShapeRef.new(shape: DescriptiveMap, location_name: "Dimensions"))
385
+ PerformanceInsightsMetric.add_member(:filter, Shapes::ShapeRef.new(shape: DescriptiveMap, location_name: "Filter"))
385
386
  PerformanceInsightsMetric.add_member(:value, Shapes::ShapeRef.new(shape: Double, location_name: "Value"))
386
387
  PerformanceInsightsMetric.struct_class = Types::PerformanceInsightsMetric
387
388
 
@@ -324,6 +324,8 @@ module Aws::PI
324
324
  # you can specify per-SQL metrics to get the values for the top `N`
325
325
  # SQL digests. The response syntax is as follows: `"AdditionalMetrics"
326
326
  # \: { "string" : "string" }`.
327
+ #
328
+ # The only supported statistic function is `.avg`.
327
329
  # @return [Array<String>]
328
330
  #
329
331
  # @!attribute [rw] partition_by
@@ -481,8 +483,18 @@ module Aws::PI
481
483
  # * Amazon RDS PostgreSQL
482
484
  #
483
485
  # * Amazon DocumentDB
486
+ # * `db.blocking_sql` - The SQL queries blocking the most DB load.
487
+ #
488
+ # * `db.blocking_session` - The sessions blocking the most DB load.
489
+ #
490
+ # * `db.blocking_object` - The object resources acquired by other
491
+ # sessions that are blocking the most DB load.
492
+ #
484
493
  # * `db.host` - The host name of the connected client (all engines).
485
494
  #
495
+ # * `db.plans` - The execution plans for the query (only Aurora
496
+ # PostgreSQL).
497
+ #
486
498
  # * `db.query` - The query that is currently running (only Amazon
487
499
  # DocumentDB).
488
500
  #
@@ -526,6 +538,26 @@ module Aws::PI
526
538
  # * Amazon RDS PostgreSQL
527
539
  #
528
540
  # * Amazon DocumentDB
541
+ # * `db.blocking_sql.id` - The ID for each of the SQL queries blocking
542
+ # the most DB load.
543
+ #
544
+ # * `db.blocking_sql.sql` - The SQL text for each of the SQL queries
545
+ # blocking the most DB load.
546
+ #
547
+ # * `db.blocking_session.id` - The ID for each of the sessions
548
+ # blocking the most DB load.
549
+ #
550
+ # * `db.blocking_object.id` - The ID for each of the object resources
551
+ # acquired by other sessions that are blocking the most DB load.
552
+ #
553
+ # * `db.blocking_object.type` - The object type for each of the object
554
+ # resources acquired by other sessions that are blocking the most DB
555
+ # load.
556
+ #
557
+ # * `db.blocking_object.value` - The value for each of the object
558
+ # resources acquired by other sessions that are blocking the most DB
559
+ # load.
560
+ #
529
561
  # * `db.host.id` - The host ID of the connected client (all engines).
530
562
  #
531
563
  # * `db.host.name` - The host name of the connected client (all
@@ -780,6 +812,10 @@ module Aws::PI
780
812
  # specified group for the dimension group ID. The following group name
781
813
  # values are valid:
782
814
  #
815
+ # * `db.execution_plan` (Amazon RDS and Aurora only)
816
+ #
817
+ # * `db.lock_snapshot` (Aurora only)
818
+ #
783
819
  # * `db.query` (Amazon DocumentDB only)
784
820
  #
785
821
  # * `db.sql` (Amazon RDS and Aurora only)
@@ -790,9 +826,17 @@ module Aws::PI
790
826
  # details. For dimension group `db.sql`, the group ID is `db.sql.id`.
791
827
  # The following group ID values are valid:
792
828
  #
829
+ # * `db.execution_plan.id` for dimension group `db.execution_plan`
830
+ # (Aurora and RDS only)
831
+ #
793
832
  # * `db.sql.id` for dimension group `db.sql` (Aurora and RDS only)
794
833
  #
795
834
  # * `db.query.id` for dimension group `db.query` (DocumentDB only)
835
+ #
836
+ # * For the dimension group `db.lock_snapshot`, the `GroupIdentifier`
837
+ # is the epoch timestamp when Performance Insights captured the
838
+ # snapshot, in seconds. You can retrieve this value with the
839
+ # `GetResourceMetrics` operation for a 1 second period.
796
840
  # @return [String]
797
841
  #
798
842
  # @!attribute [rw] requested_dimensions
@@ -802,6 +846,14 @@ module Aws::PI
802
846
  # dimension group. Specify dimension names for the following dimension
803
847
  # groups:
804
848
  #
849
+ # * `db.execution_plan` - Specify the dimension name
850
+ # `db.execution_plan.raw_plan` or the short dimension name
851
+ # `raw_plan` (Amazon RDS and Aurora only)
852
+ #
853
+ # * `db.lock_snapshot` - Specify the dimension name
854
+ # `db.lock_snapshot.lock_trees` or the short dimension name
855
+ # `lock_trees`. (Aurora only)
856
+ #
805
857
  # * `db.sql` - Specify either the full dimension name
806
858
  # `db.sql.statement` or the short dimension name `statement` (Aurora
807
859
  # and RDS only).
@@ -1007,10 +1059,7 @@ module Aws::PI
1007
1059
  # @return [Integer]
1008
1060
  #
1009
1061
  # @!attribute [rw] max_results
1010
- # The maximum number of items to return in the response. If more items
1011
- # exist than the specified `MaxRecords` value, a pagination token is
1012
- # included in the response so that the remaining results can be
1013
- # retrieved.
1062
+ # The maximum number of items to return in the response.
1014
1063
  # @return [Integer]
1015
1064
  #
1016
1065
  # @!attribute [rw] next_token
@@ -1579,6 +1628,10 @@ module Aws::PI
1579
1628
  # A dimension map that contains the dimensions for this partition.
1580
1629
  # @return [Hash<String,String>]
1581
1630
  #
1631
+ # @!attribute [rw] filter
1632
+ # The filter for the Performance Insights metric.
1633
+ # @return [Hash<String,String>]
1634
+ #
1582
1635
  # @!attribute [rw] value
1583
1636
  # The value of the metric. For example, `9` for `db.load.avg`.
1584
1637
  # @return [Float]
@@ -1589,6 +1642,7 @@ module Aws::PI
1589
1642
  :metric,
1590
1643
  :display_name,
1591
1644
  :dimensions,
1645
+ :filter,
1592
1646
  :value)
1593
1647
  SENSITIVE = []
1594
1648
  include Aws::Structure
data/lib/aws-sdk-pi.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::PI
54
54
  autoload :EndpointProvider, 'aws-sdk-pi/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-pi/endpoints'
56
56
 
57
- GEM_VERSION = '1.74.0'
57
+ GEM_VERSION = '1.76.0'
58
58
 
59
59
  end
60
60
 
data/sig/types.rbs CHANGED
@@ -300,6 +300,7 @@ module Aws::PI
300
300
  attr_accessor metric: ::String
301
301
  attr_accessor display_name: ::String
302
302
  attr_accessor dimensions: ::Hash[::String, ::String]
303
+ attr_accessor filter: ::Hash[::String, ::String]
303
304
  attr_accessor value: ::Float
304
305
  SENSITIVE: []
305
306
  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.74.0
4
+ version: 1.76.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: 2025-02-06 00:00:00.000000000 Z
11
+ date: 2025-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core