aws-sdk-pi 1.73.0 → 1.75.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: 7f46864e74c1b611e6d279e8d05947b34abc9a76de9efdc21f7c06532c91fd72
4
- data.tar.gz: 91096a9b8a889214a8ba0c2ce7e034244242a37405ffd8aaf32b28bd490d424c
3
+ metadata.gz: 3592bcf56c09992a8e58c7888bfe7336921af2926ca70d9993f00214e2be2955
4
+ data.tar.gz: 2b622a8f0f5bd40e0617b43cd0ce96c913ee602d0967e56077f41f09132efefd
5
5
  SHA512:
6
- metadata.gz: c62c1faddd537f4821f786b0de9c85d6898a7c3fb4cea5a6f5acbbe4f6d1fbb2a7470d51702a67030b0663bf13cc5e5b49fa17cd2a458ca8db225fbdfeaada8a
7
- data.tar.gz: 51ad214adb8bdb483a5608d9937adcaea90ff44e50081441a6ea8f112051874e184599bf41e71506c500ac6d3a63df6b4a5627b19e00b1cfa03ce1bfe67e2209
6
+ metadata.gz: 55f9dbedab0d5820f2a26bce231a61b65c5fa53eba71d564343e8fdded3e5875bfef1ffa4bb854aba3e525109581f8bde783079513689a26ed1a5a977bbfccfd
7
+ data.tar.gz: c72ca78839a5dd12fe31a960f2b99705e288176b3873658270f4cbf47dc9da8e75bd65d4a86c2ee4e8bddbb915a52ac1ef03cfdccfa4cd34a7bd037530c30678
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.75.0 (2025-02-07)
5
+ ------------------
6
+
7
+ * Feature - Adds documentation for dimension groups and dimensions to analyze locks for Database Insights.
8
+
9
+ 1.74.0 (2025-02-06)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.73.0 (2025-01-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.73.0
1
+ 1.75.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,8 @@ 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.lock_snapshot` (Aurora only)
786
+ #
782
787
  # * `db.query` (Amazon DocumentDB only)
783
788
  #
784
789
  # * `db.sql` (Amazon RDS and Aurora only)
@@ -792,12 +797,20 @@ module Aws::PI
792
797
  #
793
798
  # * `db.query.id` for dimension group `db.query` (DocumentDB only)
794
799
  #
800
+ # * For the dimension group `db.lock_snapshot`, the `GroupIdentifier` is
801
+ # the epoch timestamp when Performance Insights captured the snapshot,
802
+ # in seconds. You can retrieve this value with the
803
+ # `GetResourceMetrics` operation for a 1 second period.
804
+ #
795
805
  # @option params [Array<String>] :requested_dimensions
796
806
  # A list of dimensions to retrieve the detail data for within the given
797
807
  # dimension group. If you don't specify this parameter, Performance
798
808
  # Insights returns all dimension data within the specified dimension
799
809
  # group. Specify dimension names for the following dimension groups:
800
810
  #
811
+ # * `db.lock_trees` - Specify the dimension name `db.lock_trees`.
812
+ # (Aurora only)
813
+ #
801
814
  # * `db.sql` - Specify either the full dimension name `db.sql.statement`
802
815
  # or the short dimension name `statement` (Aurora and RDS only).
803
816
  #
@@ -906,12 +919,16 @@ module Aws::PI
906
919
  # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.display_name #=> String
907
920
  # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.dimensions #=> Hash
908
921
  # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.dimensions["DescriptiveString"] #=> String
922
+ # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.filter #=> Hash
923
+ # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.filter["DescriptiveString"] #=> String
909
924
  # resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.value #=> Float
910
925
  # resp.analysis_report.insights[0].baseline_data #=> Array
911
926
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.metric #=> String
912
927
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.display_name #=> String
913
928
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.dimensions #=> Hash
914
929
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.dimensions["DescriptiveString"] #=> String
930
+ # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.filter #=> Hash
931
+ # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.filter["DescriptiveString"] #=> String
915
932
  # resp.analysis_report.insights[0].baseline_data[0].performance_insights_metric.value #=> Float
916
933
  #
917
934
  # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetPerformanceAnalysisReport AWS API Documentation
@@ -1040,10 +1057,7 @@ module Aws::PI
1040
1057
  # data points in the response.
1041
1058
  #
1042
1059
  # @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.
1060
+ # The maximum number of items to return in the response.
1047
1061
  #
1048
1062
  # @option params [String] :next_token
1049
1063
  # An optional pagination token provided by a previous request. If this
@@ -1476,7 +1490,7 @@ module Aws::PI
1476
1490
  tracer: tracer
1477
1491
  )
1478
1492
  context[:gem_name] = 'aws-sdk-pi'
1479
- context[:gem_version] = '1.73.0'
1493
+ context[:gem_version] = '1.75.0'
1480
1494
  Seahorse::Client::Request.new(handlers, context)
1481
1495
  end
1482
1496
 
@@ -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
 
@@ -10,40 +10,36 @@
10
10
  module Aws::PI
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  end
26
- if Aws::Endpoints::Matchers.set?(region)
27
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
- return Aws::Endpoints::Endpoint.new(url: "https://pi-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://pi-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- return Aws::Endpoints::Endpoint.new(url: "https://pi-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://pi-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://pi.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://pi.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
41
  end
46
- return Aws::Endpoints::Endpoint.new(url: "https://pi.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
42
+ return Aws::Endpoints::Endpoint.new(url: "https://pi.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
43
  end
48
44
  end
49
45
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -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,8 @@ 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.lock_snapshot` (Aurora only)
816
+ #
783
817
  # * `db.query` (Amazon DocumentDB only)
784
818
  #
785
819
  # * `db.sql` (Amazon RDS and Aurora only)
@@ -793,6 +827,11 @@ module Aws::PI
793
827
  # * `db.sql.id` for dimension group `db.sql` (Aurora and RDS only)
794
828
  #
795
829
  # * `db.query.id` for dimension group `db.query` (DocumentDB only)
830
+ #
831
+ # * For the dimension group `db.lock_snapshot`, the `GroupIdentifier`
832
+ # is the epoch timestamp when Performance Insights captured the
833
+ # snapshot, in seconds. You can retrieve this value with the
834
+ # `GetResourceMetrics` operation for a 1 second period.
796
835
  # @return [String]
797
836
  #
798
837
  # @!attribute [rw] requested_dimensions
@@ -802,6 +841,9 @@ module Aws::PI
802
841
  # dimension group. Specify dimension names for the following dimension
803
842
  # groups:
804
843
  #
844
+ # * `db.lock_trees` - Specify the dimension name `db.lock_trees`.
845
+ # (Aurora only)
846
+ #
805
847
  # * `db.sql` - Specify either the full dimension name
806
848
  # `db.sql.statement` or the short dimension name `statement` (Aurora
807
849
  # and RDS only).
@@ -1007,10 +1049,7 @@ module Aws::PI
1007
1049
  # @return [Integer]
1008
1050
  #
1009
1051
  # @!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.
1052
+ # The maximum number of items to return in the response.
1014
1053
  # @return [Integer]
1015
1054
  #
1016
1055
  # @!attribute [rw] next_token
@@ -1579,6 +1618,10 @@ module Aws::PI
1579
1618
  # A dimension map that contains the dimensions for this partition.
1580
1619
  # @return [Hash<String,String>]
1581
1620
  #
1621
+ # @!attribute [rw] filter
1622
+ # The filter for the Performance Insights metric.
1623
+ # @return [Hash<String,String>]
1624
+ #
1582
1625
  # @!attribute [rw] value
1583
1626
  # The value of the metric. For example, `9` for `db.load.avg`.
1584
1627
  # @return [Float]
@@ -1589,6 +1632,7 @@ module Aws::PI
1589
1632
  :metric,
1590
1633
  :display_name,
1591
1634
  :dimensions,
1635
+ :filter,
1592
1636
  :value)
1593
1637
  SENSITIVE = []
1594
1638
  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.73.0'
57
+ GEM_VERSION = '1.75.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.73.0
4
+ version: 1.75.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-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core