aws-sdk-pi 1.26.0 → 1.30.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: dca9f039189e6d60df13a2aa6a4541cb829c66ca8ef769f7a3b7500746503fc7
4
- data.tar.gz: c61a4f72a21ef062a0a0d146e03d49793f8bf166d30d50fd50e9b2cfbbc31e6d
3
+ metadata.gz: 8d0c3e604f73e140297d42819319d980e9c84e48e47478684994dcb9730709ce
4
+ data.tar.gz: ed2eab5df2a00fac6b2081a9b1c6dc3313206435e986d6060450bb1e0de62728
5
5
  SHA512:
6
- metadata.gz: 4c1a43e4a34f1b584ee29a8527e3c317d913d421c4e56a09170b558a88dacf436bee01abbd323985b187d1872a73438472ae3a00c02ec83c40fb37e58d7f211e
7
- data.tar.gz: 55552950a6d10c01fea52f8ea5a50b904ba1afa3cdb3a719c0d3f52f28857477a71f0359d10462528ac319b883db231346853e853f060cba579dd24125570a7a
6
+ metadata.gz: e90acfe5b18d3f0c4247f46b9469c6553150c19be90e1b2fd4e5e32cdbde8371d1d8f1e0a12fe00994192240431f12a72b48ea347d380411e03f866dcd85bc16
7
+ data.tar.gz: 0ab49d79499ef4133c847aff4a2cb2055113aa47356757554b581e4256afd75b866db028ee2e9eb6de866f664db53fe7205e0514854f7a9b7f2f2bbfd341c992
data/CHANGELOG.md ADDED
@@ -0,0 +1,163 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.30.0 (2021-07-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.29.0 (2021-07-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.28.0 (2021-06-04)
15
+ ------------------
16
+
17
+ * Feature - The new GetDimensionKeyDetails action retrieves the attributes of the specified dimension group for a DB instance or data source.
18
+
19
+ 1.27.0 (2021-03-10)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.26.0 (2021-02-02)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.25.0 (2020-12-11)
30
+ ------------------
31
+
32
+ * Feature - You can group DB load according to the dimension groups for database, application, and session type. Amazon RDS also supports the dimensions db.name, db.application.name, and db.session_type.name.
33
+
34
+ 1.24.0 (2020-09-30)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.23.0 (2020-09-15)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.22.0 (2020-08-25)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.21.0 (2020-06-23)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.20.1 (2020-06-11)
55
+ ------------------
56
+
57
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
58
+
59
+ 1.20.0 (2020-06-10)
60
+ ------------------
61
+
62
+ * Issue - This version has been yanked. (#2327).
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.19.0 (2020-05-28)
66
+ ------------------
67
+
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.18.0 (2020-05-07)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.17.0 (2020-03-09)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.16.0 (2019-10-23)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.15.0 (2019-07-25)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.14.0 (2019-07-01)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.13.0 (2019-06-17)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.12.0 (2019-05-21)
101
+ ------------------
102
+
103
+ * Feature - API update.
104
+
105
+ 1.11.0 (2019-05-15)
106
+ ------------------
107
+
108
+ * Feature - API update.
109
+
110
+ 1.10.0 (2019-05-14)
111
+ ------------------
112
+
113
+ * Feature - API update.
114
+
115
+ 1.9.0 (2019-03-21)
116
+ ------------------
117
+
118
+ * Feature - API update.
119
+
120
+ 1.8.0 (2019-03-18)
121
+ ------------------
122
+
123
+ * Feature - API update.
124
+
125
+ 1.7.0 (2019-03-14)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.6.0 (2018-11-20)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.5.0 (2018-10-24)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.4.0 (2018-10-23)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.3.0 (2018-09-06)
146
+ ------------------
147
+
148
+ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
149
+
150
+ 1.2.0 (2018-09-05)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.1.0 (2018-06-26)
156
+ ------------------
157
+
158
+ * Feature - API update.
159
+
160
+ 1.0.0 (2018-05-29)
161
+ ------------------
162
+
163
+ * Feature - Initial release of `aws-sdk-pi`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.30.0
data/lib/aws-sdk-pi.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-pi/customizations'
48
48
  # @!group service
49
49
  module Aws::PI
50
50
 
51
- GEM_VERSION = '1.26.0'
51
+ GEM_VERSION = '1.30.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -455,26 +455,26 @@ module Aws::PI
455
455
  #
456
456
  # resp = client.describe_dimension_keys({
457
457
  # service_type: "RDS", # required, accepts RDS
458
- # identifier: "String", # required
458
+ # identifier: "RequestString", # required
459
459
  # start_time: Time.now, # required
460
460
  # end_time: Time.now, # required
461
- # metric: "String", # required
461
+ # metric: "RequestString", # required
462
462
  # period_in_seconds: 1,
463
463
  # group_by: { # required
464
- # group: "String", # required
465
- # dimensions: ["String"],
464
+ # group: "RequestString", # required
465
+ # dimensions: ["RequestString"],
466
466
  # limit: 1,
467
467
  # },
468
468
  # partition_by: {
469
- # group: "String", # required
470
- # dimensions: ["String"],
469
+ # group: "RequestString", # required
470
+ # dimensions: ["RequestString"],
471
471
  # limit: 1,
472
472
  # },
473
473
  # filter: {
474
- # "String" => "String",
474
+ # "RequestString" => "RequestString",
475
475
  # },
476
476
  # max_results: 1,
477
- # next_token: "String",
477
+ # next_token: "NextToken",
478
478
  # })
479
479
  #
480
480
  # @example Response structure
@@ -483,10 +483,10 @@ module Aws::PI
483
483
  # resp.aligned_end_time #=> Time
484
484
  # resp.partition_keys #=> Array
485
485
  # resp.partition_keys[0].dimensions #=> Hash
486
- # resp.partition_keys[0].dimensions["String"] #=> String
486
+ # resp.partition_keys[0].dimensions["RequestString"] #=> String
487
487
  # resp.keys #=> Array
488
488
  # resp.keys[0].dimensions #=> Hash
489
- # resp.keys[0].dimensions["String"] #=> String
489
+ # resp.keys[0].dimensions["RequestString"] #=> String
490
490
  # resp.keys[0].total #=> Float
491
491
  # resp.keys[0].partitions #=> Array
492
492
  # resp.keys[0].partitions[0] #=> Float
@@ -501,6 +501,70 @@ module Aws::PI
501
501
  req.send_request(options)
502
502
  end
503
503
 
504
+ # Get the attributes of the specified dimension group for a DB instance
505
+ # or data source. For example, if you specify a SQL ID,
506
+ # `GetDimensionKeyDetails` retrieves the full text of the dimension
507
+ # `db.sql.statement` associated with this ID. This operation is useful
508
+ # because `GetResourceMetrics` and `DescribeDimensionKeys` don't
509
+ # support retrieval of large SQL statement text.
510
+ #
511
+ # @option params [required, String] :service_type
512
+ # The AWS service for which Performance Insights returns data. The only
513
+ # valid value is `RDS`.
514
+ #
515
+ # @option params [required, String] :identifier
516
+ # The ID for a data source from which to gather dimension data. This ID
517
+ # must be immutable and unique within an AWS Region. When a DB instance
518
+ # is the data source, specify its `DbiResourceId` value. For example,
519
+ # specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`.
520
+ #
521
+ # @option params [required, String] :group
522
+ # The name of the dimension group. The only valid value is `db.sql`.
523
+ # Performance Insights searches the specified group for the dimension
524
+ # group ID.
525
+ #
526
+ # @option params [required, String] :group_identifier
527
+ # The ID of the dimension group from which to retrieve dimension
528
+ # details. For dimension group `db.sql`, the group ID is `db.sql.id`.
529
+ #
530
+ # @option params [Array<String>] :requested_dimensions
531
+ # A list of dimensions to retrieve the detail data for within the given
532
+ # dimension group. For the dimension group `db.sql`, specify either the
533
+ # full dimension name `db.sql.statement` or the short dimension name
534
+ # `statement`. If you don't specify this parameter, Performance
535
+ # Insights returns all dimension data within the specified dimension
536
+ # group.
537
+ #
538
+ # @return [Types::GetDimensionKeyDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
539
+ #
540
+ # * {Types::GetDimensionKeyDetailsResponse#dimensions #dimensions} => Array&lt;Types::DimensionKeyDetail&gt;
541
+ #
542
+ # @example Request syntax with placeholder values
543
+ #
544
+ # resp = client.get_dimension_key_details({
545
+ # service_type: "RDS", # required, accepts RDS
546
+ # identifier: "IdentifierString", # required
547
+ # group: "RequestString", # required
548
+ # group_identifier: "RequestString", # required
549
+ # requested_dimensions: ["RequestString"],
550
+ # })
551
+ #
552
+ # @example Response structure
553
+ #
554
+ # resp.dimensions #=> Array
555
+ # resp.dimensions[0].value #=> String
556
+ # resp.dimensions[0].dimension #=> String
557
+ # resp.dimensions[0].status #=> String, one of "AVAILABLE", "PROCESSING", "UNAVAILABLE"
558
+ #
559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetDimensionKeyDetails AWS API Documentation
560
+ #
561
+ # @overload get_dimension_key_details(params = {})
562
+ # @param [Hash] params ({})
563
+ def get_dimension_key_details(params = {}, options = {})
564
+ req = build_request(:get_dimension_key_details, params)
565
+ req.send_request(options)
566
+ end
567
+
504
568
  # Retrieve Performance Insights metrics for a set of data sources, over
505
569
  # a time period. You can provide specific dimension groups and
506
570
  # dimensions, and provide aggregation and filtering criteria for each
@@ -586,17 +650,17 @@ module Aws::PI
586
650
  #
587
651
  # resp = client.get_resource_metrics({
588
652
  # service_type: "RDS", # required, accepts RDS
589
- # identifier: "String", # required
653
+ # identifier: "RequestString", # required
590
654
  # metric_queries: [ # required
591
655
  # {
592
- # metric: "String", # required
656
+ # metric: "RequestString", # required
593
657
  # group_by: {
594
- # group: "String", # required
595
- # dimensions: ["String"],
658
+ # group: "RequestString", # required
659
+ # dimensions: ["RequestString"],
596
660
  # limit: 1,
597
661
  # },
598
662
  # filter: {
599
- # "String" => "String",
663
+ # "RequestString" => "RequestString",
600
664
  # },
601
665
  # },
602
666
  # ],
@@ -604,7 +668,7 @@ module Aws::PI
604
668
  # end_time: Time.now, # required
605
669
  # period_in_seconds: 1,
606
670
  # max_results: 1,
607
- # next_token: "String",
671
+ # next_token: "NextToken",
608
672
  # })
609
673
  #
610
674
  # @example Response structure
@@ -615,7 +679,7 @@ module Aws::PI
615
679
  # resp.metric_list #=> Array
616
680
  # resp.metric_list[0].key.metric #=> String
617
681
  # resp.metric_list[0].key.dimensions #=> Hash
618
- # resp.metric_list[0].key.dimensions["String"] #=> String
682
+ # resp.metric_list[0].key.dimensions["RequestString"] #=> String
619
683
  # resp.metric_list[0].data_points #=> Array
620
684
  # resp.metric_list[0].data_points[0].timestamp #=> Time
621
685
  # resp.metric_list[0].data_points[0].value #=> Float
@@ -643,7 +707,7 @@ module Aws::PI
643
707
  params: params,
644
708
  config: config)
645
709
  context[:gem_name] = 'aws-sdk-pi'
646
- context[:gem_version] = '1.26.0'
710
+ context[:gem_version] = '1.30.0'
647
711
  Seahorse::Client::Request.new(handlers, context)
648
712
  end
649
713
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -17,14 +17,21 @@ module Aws::PI
17
17
  DataPointsList = Shapes::ListShape.new(name: 'DataPointsList')
18
18
  DescribeDimensionKeysRequest = Shapes::StructureShape.new(name: 'DescribeDimensionKeysRequest')
19
19
  DescribeDimensionKeysResponse = Shapes::StructureShape.new(name: 'DescribeDimensionKeysResponse')
20
+ DetailStatus = Shapes::StringShape.new(name: 'DetailStatus')
20
21
  DimensionGroup = Shapes::StructureShape.new(name: 'DimensionGroup')
21
22
  DimensionKeyDescription = Shapes::StructureShape.new(name: 'DimensionKeyDescription')
22
23
  DimensionKeyDescriptionList = Shapes::ListShape.new(name: 'DimensionKeyDescriptionList')
24
+ DimensionKeyDetail = Shapes::StructureShape.new(name: 'DimensionKeyDetail')
25
+ DimensionKeyDetailList = Shapes::ListShape.new(name: 'DimensionKeyDetailList')
23
26
  DimensionMap = Shapes::MapShape.new(name: 'DimensionMap')
24
27
  Double = Shapes::FloatShape.new(name: 'Double')
28
+ ErrorString = Shapes::StringShape.new(name: 'ErrorString')
29
+ GetDimensionKeyDetailsRequest = Shapes::StructureShape.new(name: 'GetDimensionKeyDetailsRequest')
30
+ GetDimensionKeyDetailsResponse = Shapes::StructureShape.new(name: 'GetDimensionKeyDetailsResponse')
25
31
  GetResourceMetricsRequest = Shapes::StructureShape.new(name: 'GetResourceMetricsRequest')
26
32
  GetResourceMetricsResponse = Shapes::StructureShape.new(name: 'GetResourceMetricsResponse')
27
33
  ISOTimestamp = Shapes::TimestampShape.new(name: 'ISOTimestamp')
34
+ IdentifierString = Shapes::StringShape.new(name: 'IdentifierString')
28
35
  Integer = Shapes::IntegerShape.new(name: 'Integer')
29
36
  InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError')
30
37
  InvalidArgumentException = Shapes::StructureShape.new(name: 'InvalidArgumentException')
@@ -36,13 +43,16 @@ module Aws::PI
36
43
  MetricQueryFilterMap = Shapes::MapShape.new(name: 'MetricQueryFilterMap')
37
44
  MetricQueryList = Shapes::ListShape.new(name: 'MetricQueryList')
38
45
  MetricValuesList = Shapes::ListShape.new(name: 'MetricValuesList')
46
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
39
47
  NotAuthorizedException = Shapes::StructureShape.new(name: 'NotAuthorizedException')
48
+ RequestString = Shapes::StringShape.new(name: 'RequestString')
49
+ RequestStringList = Shapes::ListShape.new(name: 'RequestStringList')
50
+ RequestedDimensionList = Shapes::ListShape.new(name: 'RequestedDimensionList')
40
51
  ResponsePartitionKey = Shapes::StructureShape.new(name: 'ResponsePartitionKey')
41
52
  ResponsePartitionKeyList = Shapes::ListShape.new(name: 'ResponsePartitionKeyList')
42
53
  ResponseResourceMetricKey = Shapes::StructureShape.new(name: 'ResponseResourceMetricKey')
43
54
  ServiceType = Shapes::StringShape.new(name: 'ServiceType')
44
55
  String = Shapes::StringShape.new(name: 'String')
45
- StringList = Shapes::ListShape.new(name: 'StringList')
46
56
 
47
57
  DataPoint.add_member(:timestamp, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "Timestamp"))
48
58
  DataPoint.add_member(:value, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "Value"))
@@ -51,27 +61,27 @@ module Aws::PI
51
61
  DataPointsList.member = Shapes::ShapeRef.new(shape: DataPoint)
52
62
 
53
63
  DescribeDimensionKeysRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
54
- DescribeDimensionKeysRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Identifier"))
64
+ DescribeDimensionKeysRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Identifier"))
55
65
  DescribeDimensionKeysRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime"))
56
66
  DescribeDimensionKeysRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "EndTime"))
57
- DescribeDimensionKeysRequest.add_member(:metric, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Metric"))
67
+ DescribeDimensionKeysRequest.add_member(:metric, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Metric"))
58
68
  DescribeDimensionKeysRequest.add_member(:period_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "PeriodInSeconds"))
59
69
  DescribeDimensionKeysRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: DimensionGroup, required: true, location_name: "GroupBy"))
60
70
  DescribeDimensionKeysRequest.add_member(:partition_by, Shapes::ShapeRef.new(shape: DimensionGroup, location_name: "PartitionBy"))
61
71
  DescribeDimensionKeysRequest.add_member(:filter, Shapes::ShapeRef.new(shape: MetricQueryFilterMap, location_name: "Filter"))
62
72
  DescribeDimensionKeysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
63
- DescribeDimensionKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
73
+ DescribeDimensionKeysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
64
74
  DescribeDimensionKeysRequest.struct_class = Types::DescribeDimensionKeysRequest
65
75
 
66
76
  DescribeDimensionKeysResponse.add_member(:aligned_start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "AlignedStartTime"))
67
77
  DescribeDimensionKeysResponse.add_member(:aligned_end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "AlignedEndTime"))
68
78
  DescribeDimensionKeysResponse.add_member(:partition_keys, Shapes::ShapeRef.new(shape: ResponsePartitionKeyList, location_name: "PartitionKeys"))
69
79
  DescribeDimensionKeysResponse.add_member(:keys, Shapes::ShapeRef.new(shape: DimensionKeyDescriptionList, location_name: "Keys"))
70
- DescribeDimensionKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
80
+ DescribeDimensionKeysResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
71
81
  DescribeDimensionKeysResponse.struct_class = Types::DescribeDimensionKeysResponse
72
82
 
73
- DimensionGroup.add_member(:group, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Group"))
74
- DimensionGroup.add_member(:dimensions, Shapes::ShapeRef.new(shape: StringList, location_name: "Dimensions"))
83
+ DimensionGroup.add_member(:group, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Group"))
84
+ DimensionGroup.add_member(:dimensions, Shapes::ShapeRef.new(shape: RequestStringList, location_name: "Dimensions"))
75
85
  DimensionGroup.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "Limit"))
76
86
  DimensionGroup.struct_class = Types::DimensionGroup
77
87
 
@@ -82,30 +92,47 @@ module Aws::PI
82
92
 
83
93
  DimensionKeyDescriptionList.member = Shapes::ShapeRef.new(shape: DimensionKeyDescription)
84
94
 
85
- DimensionMap.key = Shapes::ShapeRef.new(shape: String)
86
- DimensionMap.value = Shapes::ShapeRef.new(shape: String)
95
+ DimensionKeyDetail.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
96
+ DimensionKeyDetail.add_member(:dimension, Shapes::ShapeRef.new(shape: String, location_name: "Dimension"))
97
+ DimensionKeyDetail.add_member(:status, Shapes::ShapeRef.new(shape: DetailStatus, location_name: "Status"))
98
+ DimensionKeyDetail.struct_class = Types::DimensionKeyDetail
99
+
100
+ DimensionKeyDetailList.member = Shapes::ShapeRef.new(shape: DimensionKeyDetail)
101
+
102
+ DimensionMap.key = Shapes::ShapeRef.new(shape: RequestString)
103
+ DimensionMap.value = Shapes::ShapeRef.new(shape: RequestString)
104
+
105
+ GetDimensionKeyDetailsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
106
+ GetDimensionKeyDetailsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
107
+ GetDimensionKeyDetailsRequest.add_member(:group, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Group"))
108
+ GetDimensionKeyDetailsRequest.add_member(:group_identifier, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "GroupIdentifier"))
109
+ GetDimensionKeyDetailsRequest.add_member(:requested_dimensions, Shapes::ShapeRef.new(shape: RequestedDimensionList, location_name: "RequestedDimensions"))
110
+ GetDimensionKeyDetailsRequest.struct_class = Types::GetDimensionKeyDetailsRequest
111
+
112
+ GetDimensionKeyDetailsResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionKeyDetailList, location_name: "Dimensions"))
113
+ GetDimensionKeyDetailsResponse.struct_class = Types::GetDimensionKeyDetailsResponse
87
114
 
88
115
  GetResourceMetricsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
89
- GetResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Identifier"))
116
+ GetResourceMetricsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Identifier"))
90
117
  GetResourceMetricsRequest.add_member(:metric_queries, Shapes::ShapeRef.new(shape: MetricQueryList, required: true, location_name: "MetricQueries"))
91
118
  GetResourceMetricsRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime"))
92
119
  GetResourceMetricsRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "EndTime"))
93
120
  GetResourceMetricsRequest.add_member(:period_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "PeriodInSeconds"))
94
121
  GetResourceMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
95
- GetResourceMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
122
+ GetResourceMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
96
123
  GetResourceMetricsRequest.struct_class = Types::GetResourceMetricsRequest
97
124
 
98
125
  GetResourceMetricsResponse.add_member(:aligned_start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "AlignedStartTime"))
99
126
  GetResourceMetricsResponse.add_member(:aligned_end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "AlignedEndTime"))
100
127
  GetResourceMetricsResponse.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "Identifier"))
101
128
  GetResourceMetricsResponse.add_member(:metric_list, Shapes::ShapeRef.new(shape: MetricKeyDataPointsList, location_name: "MetricList"))
102
- GetResourceMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
129
+ GetResourceMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
103
130
  GetResourceMetricsResponse.struct_class = Types::GetResourceMetricsResponse
104
131
 
105
- InternalServiceError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
132
+ InternalServiceError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "Message"))
106
133
  InternalServiceError.struct_class = Types::InternalServiceError
107
134
 
108
- InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
135
+ InvalidArgumentException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "Message"))
109
136
  InvalidArgumentException.struct_class = Types::InvalidArgumentException
110
137
 
111
138
  MetricKeyDataPoints.add_member(:key, Shapes::ShapeRef.new(shape: ResponseResourceMetricKey, location_name: "Key"))
@@ -114,21 +141,25 @@ module Aws::PI
114
141
 
115
142
  MetricKeyDataPointsList.member = Shapes::ShapeRef.new(shape: MetricKeyDataPoints)
116
143
 
117
- MetricQuery.add_member(:metric, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Metric"))
144
+ MetricQuery.add_member(:metric, Shapes::ShapeRef.new(shape: RequestString, required: true, location_name: "Metric"))
118
145
  MetricQuery.add_member(:group_by, Shapes::ShapeRef.new(shape: DimensionGroup, location_name: "GroupBy"))
119
146
  MetricQuery.add_member(:filter, Shapes::ShapeRef.new(shape: MetricQueryFilterMap, location_name: "Filter"))
120
147
  MetricQuery.struct_class = Types::MetricQuery
121
148
 
122
- MetricQueryFilterMap.key = Shapes::ShapeRef.new(shape: String)
123
- MetricQueryFilterMap.value = Shapes::ShapeRef.new(shape: String)
149
+ MetricQueryFilterMap.key = Shapes::ShapeRef.new(shape: RequestString)
150
+ MetricQueryFilterMap.value = Shapes::ShapeRef.new(shape: RequestString)
124
151
 
125
152
  MetricQueryList.member = Shapes::ShapeRef.new(shape: MetricQuery)
126
153
 
127
154
  MetricValuesList.member = Shapes::ShapeRef.new(shape: Double)
128
155
 
129
- NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
156
+ NotAuthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorString, location_name: "Message"))
130
157
  NotAuthorizedException.struct_class = Types::NotAuthorizedException
131
158
 
159
+ RequestStringList.member = Shapes::ShapeRef.new(shape: RequestString)
160
+
161
+ RequestedDimensionList.member = Shapes::ShapeRef.new(shape: RequestString)
162
+
132
163
  ResponsePartitionKey.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionMap, required: true, location_name: "Dimensions"))
133
164
  ResponsePartitionKey.struct_class = Types::ResponsePartitionKey
134
165
 
@@ -138,8 +169,6 @@ module Aws::PI
138
169
  ResponseResourceMetricKey.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionMap, location_name: "Dimensions"))
139
170
  ResponseResourceMetricKey.struct_class = Types::ResponseResourceMetricKey
140
171
 
141
- StringList.member = Shapes::ShapeRef.new(shape: String)
142
-
143
172
 
144
173
  # @api private
145
174
  API = Seahorse::Model::Api.new.tap do |api|
@@ -171,6 +200,17 @@ module Aws::PI
171
200
  o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
172
201
  end)
173
202
 
203
+ api.add_operation(:get_dimension_key_details, Seahorse::Model::Operation.new.tap do |o|
204
+ o.name = "GetDimensionKeyDetails"
205
+ o.http_method = "POST"
206
+ o.http_request_uri = "/"
207
+ o.input = Shapes::ShapeRef.new(shape: GetDimensionKeyDetailsRequest)
208
+ o.output = Shapes::ShapeRef.new(shape: GetDimensionKeyDetailsResponse)
209
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
210
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
211
+ o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
212
+ end)
213
+
174
214
  api.add_operation(:get_resource_metrics, Seahorse::Model::Operation.new.tap do |o|
175
215
  o.name = "GetResourceMetrics"
176
216
  o.http_method = "POST"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -35,26 +35,26 @@ module Aws::PI
35
35
  #
36
36
  # {
37
37
  # service_type: "RDS", # required, accepts RDS
38
- # identifier: "String", # required
38
+ # identifier: "RequestString", # required
39
39
  # start_time: Time.now, # required
40
40
  # end_time: Time.now, # required
41
- # metric: "String", # required
41
+ # metric: "RequestString", # required
42
42
  # period_in_seconds: 1,
43
43
  # group_by: { # required
44
- # group: "String", # required
45
- # dimensions: ["String"],
44
+ # group: "RequestString", # required
45
+ # dimensions: ["RequestString"],
46
46
  # limit: 1,
47
47
  # },
48
48
  # partition_by: {
49
- # group: "String", # required
50
- # dimensions: ["String"],
49
+ # group: "RequestString", # required
50
+ # dimensions: ["RequestString"],
51
51
  # limit: 1,
52
52
  # },
53
53
  # filter: {
54
- # "String" => "String",
54
+ # "RequestString" => "RequestString",
55
55
  # },
56
56
  # max_results: 1,
57
- # next_token: "String",
57
+ # next_token: "NextToken",
58
58
  # }
59
59
  #
60
60
  # @!attribute [rw] service_type
@@ -242,8 +242,8 @@ module Aws::PI
242
242
  # data as a hash:
243
243
  #
244
244
  # {
245
- # group: "String", # required
246
- # dimensions: ["String"],
245
+ # group: "RequestString", # required
246
+ # dimensions: ["RequestString"],
247
247
  # limit: 1,
248
248
  # }
249
249
  #
@@ -375,22 +375,127 @@ module Aws::PI
375
375
  include Aws::Structure
376
376
  end
377
377
 
378
+ # An object that describes the details for a specified dimension.
379
+ #
380
+ # @!attribute [rw] value
381
+ # The value of the dimension detail data. For the `db.sql.statement`
382
+ # dimension, this value is either the full or truncated SQL query,
383
+ # depending on the return status.
384
+ # @return [String]
385
+ #
386
+ # @!attribute [rw] dimension
387
+ # The full name of the dimension. The full name includes the group
388
+ # name and key name. The only valid value is `db.sql.statement`.
389
+ # @return [String]
390
+ #
391
+ # @!attribute [rw] status
392
+ # The status of the dimension detail data. Possible values include the
393
+ # following:
394
+ #
395
+ # * `AVAILABLE` - The dimension detail data is ready to be retrieved.
396
+ #
397
+ # * `PROCESSING` - The dimension detail data isn't ready to be
398
+ # retrieved because more processing time is required. If the
399
+ # requested detail data for `db.sql.statement` has the status
400
+ # `PROCESSING`, Performance Insights returns the truncated query.
401
+ #
402
+ # * `UNAVAILABLE` - The dimension detail data could not be collected
403
+ # successfully.
404
+ # @return [String]
405
+ #
406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/DimensionKeyDetail AWS API Documentation
407
+ #
408
+ class DimensionKeyDetail < Struct.new(
409
+ :value,
410
+ :dimension,
411
+ :status)
412
+ SENSITIVE = []
413
+ include Aws::Structure
414
+ end
415
+
416
+ # @note When making an API call, you may pass GetDimensionKeyDetailsRequest
417
+ # data as a hash:
418
+ #
419
+ # {
420
+ # service_type: "RDS", # required, accepts RDS
421
+ # identifier: "IdentifierString", # required
422
+ # group: "RequestString", # required
423
+ # group_identifier: "RequestString", # required
424
+ # requested_dimensions: ["RequestString"],
425
+ # }
426
+ #
427
+ # @!attribute [rw] service_type
428
+ # The AWS service for which Performance Insights returns data. The
429
+ # only valid value is `RDS`.
430
+ # @return [String]
431
+ #
432
+ # @!attribute [rw] identifier
433
+ # The ID for a data source from which to gather dimension data. This
434
+ # ID must be immutable and unique within an AWS Region. When a DB
435
+ # instance is the data source, specify its `DbiResourceId` value. For
436
+ # example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`.
437
+ # @return [String]
438
+ #
439
+ # @!attribute [rw] group
440
+ # The name of the dimension group. The only valid value is `db.sql`.
441
+ # Performance Insights searches the specified group for the dimension
442
+ # group ID.
443
+ # @return [String]
444
+ #
445
+ # @!attribute [rw] group_identifier
446
+ # The ID of the dimension group from which to retrieve dimension
447
+ # details. For dimension group `db.sql`, the group ID is `db.sql.id`.
448
+ # @return [String]
449
+ #
450
+ # @!attribute [rw] requested_dimensions
451
+ # A list of dimensions to retrieve the detail data for within the
452
+ # given dimension group. For the dimension group `db.sql`, specify
453
+ # either the full dimension name `db.sql.statement` or the short
454
+ # dimension name `statement`. If you don't specify this parameter,
455
+ # Performance Insights returns all dimension data within the specified
456
+ # dimension group.
457
+ # @return [Array<String>]
458
+ #
459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetDimensionKeyDetailsRequest AWS API Documentation
460
+ #
461
+ class GetDimensionKeyDetailsRequest < Struct.new(
462
+ :service_type,
463
+ :identifier,
464
+ :group,
465
+ :group_identifier,
466
+ :requested_dimensions)
467
+ SENSITIVE = []
468
+ include Aws::Structure
469
+ end
470
+
471
+ # @!attribute [rw] dimensions
472
+ # The details for the requested dimensions.
473
+ # @return [Array<Types::DimensionKeyDetail>]
474
+ #
475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetDimensionKeyDetailsResponse AWS API Documentation
476
+ #
477
+ class GetDimensionKeyDetailsResponse < Struct.new(
478
+ :dimensions)
479
+ SENSITIVE = []
480
+ include Aws::Structure
481
+ end
482
+
378
483
  # @note When making an API call, you may pass GetResourceMetricsRequest
379
484
  # data as a hash:
380
485
  #
381
486
  # {
382
487
  # service_type: "RDS", # required, accepts RDS
383
- # identifier: "String", # required
488
+ # identifier: "RequestString", # required
384
489
  # metric_queries: [ # required
385
490
  # {
386
- # metric: "String", # required
491
+ # metric: "RequestString", # required
387
492
  # group_by: {
388
- # group: "String", # required
389
- # dimensions: ["String"],
493
+ # group: "RequestString", # required
494
+ # dimensions: ["RequestString"],
390
495
  # limit: 1,
391
496
  # },
392
497
  # filter: {
393
- # "String" => "String",
498
+ # "RequestString" => "RequestString",
394
499
  # },
395
500
  # },
396
501
  # ],
@@ -398,7 +503,7 @@ module Aws::PI
398
503
  # end_time: Time.now, # required
399
504
  # period_in_seconds: 1,
400
505
  # max_results: 1,
401
- # next_token: "String",
506
+ # next_token: "NextToken",
402
507
  # }
403
508
  #
404
509
  # @!attribute [rw] service_type
@@ -589,14 +694,14 @@ module Aws::PI
589
694
  # data as a hash:
590
695
  #
591
696
  # {
592
- # metric: "String", # required
697
+ # metric: "RequestString", # required
593
698
  # group_by: {
594
- # group: "String", # required
595
- # dimensions: ["String"],
699
+ # group: "RequestString", # required
700
+ # dimensions: ["RequestString"],
596
701
  # limit: 1,
597
702
  # },
598
703
  # filter: {
599
- # "String" => "String",
704
+ # "RequestString" => "RequestString",
600
705
  # },
601
706
  # }
602
707
  #
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.26.0
4
+ version: 1.30.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-07-30 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.112.0
22
+ version: 3.119.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.112.0
32
+ version: 3.119.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for AWS Performance Insights (AWS PI). This gem
48
48
  is part of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-pi.rb
56
59
  - lib/aws-sdk-pi/client.rb
57
60
  - lib/aws-sdk-pi/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-pi
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-pi/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pi
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pi/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - AWS PI