aws-sdk-pi 1.47.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pi/client.rb +390 -6
- data/lib/aws-sdk-pi/client_api.rb +250 -5
- data/lib/aws-sdk-pi/endpoints.rb +98 -0
- data/lib/aws-sdk-pi/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-pi/types.rb +585 -0
- data/lib/aws-sdk-pi.rb +2 -2
- metadata +2 -2
data/lib/aws-sdk-pi/types.rb
CHANGED
@@ -10,6 +10,172 @@
|
|
10
10
|
module Aws::PI
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Retrieves the summary of the performance analysis report created for a
|
14
|
+
# time period.
|
15
|
+
#
|
16
|
+
# @!attribute [rw] analysis_report_id
|
17
|
+
# The name of the analysis report.
|
18
|
+
# @return [String]
|
19
|
+
#
|
20
|
+
# @!attribute [rw] identifier
|
21
|
+
# The unique identifier of the analysis report.
|
22
|
+
# @return [String]
|
23
|
+
#
|
24
|
+
# @!attribute [rw] service_type
|
25
|
+
# List the tags for the Amazon Web Services service for which
|
26
|
+
# Performance Insights returns metrics. Valid values are as follows:
|
27
|
+
#
|
28
|
+
# * `RDS`
|
29
|
+
#
|
30
|
+
# * `DOCDB`
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
# @!attribute [rw] create_time
|
34
|
+
# The time you created the analysis report.
|
35
|
+
# @return [Time]
|
36
|
+
#
|
37
|
+
# @!attribute [rw] start_time
|
38
|
+
# The analysis start time in the report.
|
39
|
+
# @return [Time]
|
40
|
+
#
|
41
|
+
# @!attribute [rw] end_time
|
42
|
+
# The analysis end time in the report.
|
43
|
+
# @return [Time]
|
44
|
+
#
|
45
|
+
# @!attribute [rw] status
|
46
|
+
# The status of the created analysis report.
|
47
|
+
# @return [String]
|
48
|
+
#
|
49
|
+
# @!attribute [rw] insights
|
50
|
+
# The list of identified insights in the analysis report.
|
51
|
+
# @return [Array<Types::Insight>]
|
52
|
+
#
|
53
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/AnalysisReport AWS API Documentation
|
54
|
+
#
|
55
|
+
class AnalysisReport < Struct.new(
|
56
|
+
:analysis_report_id,
|
57
|
+
:identifier,
|
58
|
+
:service_type,
|
59
|
+
:create_time,
|
60
|
+
:start_time,
|
61
|
+
:end_time,
|
62
|
+
:status,
|
63
|
+
:insights)
|
64
|
+
SENSITIVE = []
|
65
|
+
include Aws::Structure
|
66
|
+
end
|
67
|
+
|
68
|
+
# Retrieves the details of the performance analysis report.
|
69
|
+
#
|
70
|
+
# @!attribute [rw] analysis_report_id
|
71
|
+
# The name of the analysis report.
|
72
|
+
# @return [String]
|
73
|
+
#
|
74
|
+
# @!attribute [rw] create_time
|
75
|
+
# The time you created the analysis report.
|
76
|
+
# @return [Time]
|
77
|
+
#
|
78
|
+
# @!attribute [rw] start_time
|
79
|
+
# The start time of the analysis in the report.
|
80
|
+
# @return [Time]
|
81
|
+
#
|
82
|
+
# @!attribute [rw] end_time
|
83
|
+
# The end time of the analysis in the report.
|
84
|
+
# @return [Time]
|
85
|
+
#
|
86
|
+
# @!attribute [rw] status
|
87
|
+
# The status of the analysis report.
|
88
|
+
# @return [String]
|
89
|
+
#
|
90
|
+
# @!attribute [rw] tags
|
91
|
+
# List of all the tags added to the analysis report.
|
92
|
+
# @return [Array<Types::Tag>]
|
93
|
+
#
|
94
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/AnalysisReportSummary AWS API Documentation
|
95
|
+
#
|
96
|
+
class AnalysisReportSummary < Struct.new(
|
97
|
+
:analysis_report_id,
|
98
|
+
:create_time,
|
99
|
+
:start_time,
|
100
|
+
:end_time,
|
101
|
+
:status,
|
102
|
+
:tags)
|
103
|
+
SENSITIVE = []
|
104
|
+
include Aws::Structure
|
105
|
+
end
|
106
|
+
|
107
|
+
# @!attribute [rw] service_type
|
108
|
+
# The Amazon Web Services service for which Performance Insights will
|
109
|
+
# return metrics. Valid value is `RDS`.
|
110
|
+
# @return [String]
|
111
|
+
#
|
112
|
+
# @!attribute [rw] identifier
|
113
|
+
# An immutable, Amazon Web Services Region-unique identifier for a
|
114
|
+
# data source. Performance Insights gathers metrics from this data
|
115
|
+
# source.
|
116
|
+
#
|
117
|
+
# To use an Amazon RDS instance as a data source, you specify its
|
118
|
+
# `DbiResourceId` value. For example, specify
|
119
|
+
# `db-ADECBTYHKTSAUMUZQYPDS2GW4A`.
|
120
|
+
# @return [String]
|
121
|
+
#
|
122
|
+
# @!attribute [rw] start_time
|
123
|
+
# The start time defined for the analysis report.
|
124
|
+
# @return [Time]
|
125
|
+
#
|
126
|
+
# @!attribute [rw] end_time
|
127
|
+
# The end time defined for the analysis report.
|
128
|
+
# @return [Time]
|
129
|
+
#
|
130
|
+
# @!attribute [rw] tags
|
131
|
+
# The metadata assigned to the analysis report consisting of a
|
132
|
+
# key-value pair.
|
133
|
+
# @return [Array<Types::Tag>]
|
134
|
+
#
|
135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/CreatePerformanceAnalysisReportRequest AWS API Documentation
|
136
|
+
#
|
137
|
+
class CreatePerformanceAnalysisReportRequest < Struct.new(
|
138
|
+
:service_type,
|
139
|
+
:identifier,
|
140
|
+
:start_time,
|
141
|
+
:end_time,
|
142
|
+
:tags)
|
143
|
+
SENSITIVE = []
|
144
|
+
include Aws::Structure
|
145
|
+
end
|
146
|
+
|
147
|
+
# @!attribute [rw] analysis_report_id
|
148
|
+
# A unique identifier for the created analysis report.
|
149
|
+
# @return [String]
|
150
|
+
#
|
151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/CreatePerformanceAnalysisReportResponse AWS API Documentation
|
152
|
+
#
|
153
|
+
class CreatePerformanceAnalysisReportResponse < Struct.new(
|
154
|
+
:analysis_report_id)
|
155
|
+
SENSITIVE = []
|
156
|
+
include Aws::Structure
|
157
|
+
end
|
158
|
+
|
159
|
+
# List of data objects which provide details about source metrics. This
|
160
|
+
# field can be used to determine the PI metric to render for the
|
161
|
+
# insight. This data type also includes static values for the metrics
|
162
|
+
# for the Insight that were calculated and included in text and
|
163
|
+
# annotations on the DB load chart.
|
164
|
+
#
|
165
|
+
# @!attribute [rw] performance_insights_metric
|
166
|
+
# This field determines the Performance Insights metric to render for
|
167
|
+
# the insight. The `name` field refers to a Performance Insights
|
168
|
+
# metric.
|
169
|
+
# @return [Types::PerformanceInsightsMetric]
|
170
|
+
#
|
171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Data AWS API Documentation
|
172
|
+
#
|
173
|
+
class Data < Struct.new(
|
174
|
+
:performance_insights_metric)
|
175
|
+
SENSITIVE = []
|
176
|
+
include Aws::Structure
|
177
|
+
end
|
178
|
+
|
13
179
|
# A timestamp, and a single numerical value, which together represent a
|
14
180
|
# measurement at a particular point in time.
|
15
181
|
#
|
@@ -30,6 +196,40 @@ module Aws::PI
|
|
30
196
|
include Aws::Structure
|
31
197
|
end
|
32
198
|
|
199
|
+
# @!attribute [rw] service_type
|
200
|
+
# The Amazon Web Services service for which Performance Insights will
|
201
|
+
# return metrics. Valid value is `RDS`.
|
202
|
+
# @return [String]
|
203
|
+
#
|
204
|
+
# @!attribute [rw] identifier
|
205
|
+
# An immutable identifier for a data source that is unique for an
|
206
|
+
# Amazon Web Services Region. Performance Insights gathers metrics
|
207
|
+
# from this data source. In the console, the identifier is shown as
|
208
|
+
# *ResourceID*. When you call `DescribeDBInstances`, the identifier is
|
209
|
+
# returned as `DbiResourceId`.
|
210
|
+
#
|
211
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
212
|
+
# value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`.
|
213
|
+
# @return [String]
|
214
|
+
#
|
215
|
+
# @!attribute [rw] analysis_report_id
|
216
|
+
# The unique identifier of the analysis report for deletion.
|
217
|
+
# @return [String]
|
218
|
+
#
|
219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/DeletePerformanceAnalysisReportRequest AWS API Documentation
|
220
|
+
#
|
221
|
+
class DeletePerformanceAnalysisReportRequest < Struct.new(
|
222
|
+
:service_type,
|
223
|
+
:identifier,
|
224
|
+
:analysis_report_id)
|
225
|
+
SENSITIVE = []
|
226
|
+
include Aws::Structure
|
227
|
+
end
|
228
|
+
|
229
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/DeletePerformanceAnalysisReportResponse AWS API Documentation
|
230
|
+
#
|
231
|
+
class DeletePerformanceAnalysisReportResponse < Aws::EmptyStructure; end
|
232
|
+
|
33
233
|
# @!attribute [rw] service_type
|
34
234
|
# The Amazon Web Services service for which Performance Insights will
|
35
235
|
# return metrics. Valid values are as follows:
|
@@ -630,6 +830,62 @@ module Aws::PI
|
|
630
830
|
include Aws::Structure
|
631
831
|
end
|
632
832
|
|
833
|
+
# @!attribute [rw] service_type
|
834
|
+
# The Amazon Web Services service for which Performance Insights will
|
835
|
+
# return metrics. Valid value is `RDS`.
|
836
|
+
# @return [String]
|
837
|
+
#
|
838
|
+
# @!attribute [rw] identifier
|
839
|
+
# An immutable identifier for a data source that is unique for an
|
840
|
+
# Amazon Web Services Region. Performance Insights gathers metrics
|
841
|
+
# from this data source. In the console, the identifier is shown as
|
842
|
+
# *ResourceID*. When you call `DescribeDBInstances`, the identifier is
|
843
|
+
# returned as `DbiResourceId`.
|
844
|
+
#
|
845
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
846
|
+
# value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`.
|
847
|
+
# @return [String]
|
848
|
+
#
|
849
|
+
# @!attribute [rw] analysis_report_id
|
850
|
+
# A unique identifier of the created analysis report. For example,
|
851
|
+
# `report-12345678901234567`
|
852
|
+
# @return [String]
|
853
|
+
#
|
854
|
+
# @!attribute [rw] text_format
|
855
|
+
# Indicates the text format in the report. The options are
|
856
|
+
# `PLAIN_TEXT` or `MARKDOWN`. The default value is `plain text`.
|
857
|
+
# @return [String]
|
858
|
+
#
|
859
|
+
# @!attribute [rw] accept_language
|
860
|
+
# The text language in the report. The default language is `EN_US`
|
861
|
+
# (English).
|
862
|
+
# @return [String]
|
863
|
+
#
|
864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetPerformanceAnalysisReportRequest AWS API Documentation
|
865
|
+
#
|
866
|
+
class GetPerformanceAnalysisReportRequest < Struct.new(
|
867
|
+
:service_type,
|
868
|
+
:identifier,
|
869
|
+
:analysis_report_id,
|
870
|
+
:text_format,
|
871
|
+
:accept_language)
|
872
|
+
SENSITIVE = []
|
873
|
+
include Aws::Structure
|
874
|
+
end
|
875
|
+
|
876
|
+
# @!attribute [rw] analysis_report
|
877
|
+
# The summary of the performance analysis report created for a time
|
878
|
+
# period.
|
879
|
+
# @return [Types::AnalysisReport]
|
880
|
+
#
|
881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetPerformanceAnalysisReportResponse AWS API Documentation
|
882
|
+
#
|
883
|
+
class GetPerformanceAnalysisReportResponse < Struct.new(
|
884
|
+
:analysis_report)
|
885
|
+
SENSITIVE = []
|
886
|
+
include Aws::Structure
|
887
|
+
end
|
888
|
+
|
633
889
|
# @!attribute [rw] service_type
|
634
890
|
# The Amazon Web Services service for which Performance Insights
|
635
891
|
# returns metrics.
|
@@ -821,6 +1077,80 @@ module Aws::PI
|
|
821
1077
|
include Aws::Structure
|
822
1078
|
end
|
823
1079
|
|
1080
|
+
# Retrieves the list of performance issues which are identified.
|
1081
|
+
#
|
1082
|
+
# @!attribute [rw] insight_id
|
1083
|
+
# The unique identifier for the insight. For example,
|
1084
|
+
# `insight-12345678901234567`.
|
1085
|
+
# @return [String]
|
1086
|
+
#
|
1087
|
+
# @!attribute [rw] insight_type
|
1088
|
+
# The type of insight. For example, `HighDBLoad`, `HighCPU`, or
|
1089
|
+
# `DominatingSQLs`.
|
1090
|
+
# @return [String]
|
1091
|
+
#
|
1092
|
+
# @!attribute [rw] context
|
1093
|
+
# Indicates if the insight is causal or correlated insight.
|
1094
|
+
# @return [String]
|
1095
|
+
#
|
1096
|
+
# @!attribute [rw] start_time
|
1097
|
+
# The start time of the insight. For example, `2018-10-30T00:00:00Z`.
|
1098
|
+
# @return [Time]
|
1099
|
+
#
|
1100
|
+
# @!attribute [rw] end_time
|
1101
|
+
# The end time of the insight. For example, `2018-10-30T00:00:00Z`.
|
1102
|
+
# @return [Time]
|
1103
|
+
#
|
1104
|
+
# @!attribute [rw] severity
|
1105
|
+
# The severity of the insight. The values are: `Low`, `Medium`, or
|
1106
|
+
# `High`.
|
1107
|
+
# @return [String]
|
1108
|
+
#
|
1109
|
+
# @!attribute [rw] supporting_insights
|
1110
|
+
# List of supporting insights that provide additional factors for the
|
1111
|
+
# insight.
|
1112
|
+
# @return [Array<Types::Insight>]
|
1113
|
+
#
|
1114
|
+
# @!attribute [rw] description
|
1115
|
+
# Description of the insight. For example: `A high severity Insight
|
1116
|
+
# found between 02:00 to 02:30, where there was an unusually high DB
|
1117
|
+
# load 600x above baseline. Likely performance impact`.
|
1118
|
+
# @return [String]
|
1119
|
+
#
|
1120
|
+
# @!attribute [rw] recommendations
|
1121
|
+
# List of recommendations for the insight. For example, `Investigate
|
1122
|
+
# the following SQLs that contributed to 100% of the total DBLoad
|
1123
|
+
# during that time period: sql-id`.
|
1124
|
+
# @return [Array<Types::Recommendation>]
|
1125
|
+
#
|
1126
|
+
# @!attribute [rw] insight_data
|
1127
|
+
# List of data objects containing metrics and references from the time
|
1128
|
+
# range while generating the insight.
|
1129
|
+
# @return [Array<Types::Data>]
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] baseline_data
|
1132
|
+
# Metric names and values from the timeframe used as baseline to
|
1133
|
+
# generate the insight.
|
1134
|
+
# @return [Array<Types::Data>]
|
1135
|
+
#
|
1136
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Insight AWS API Documentation
|
1137
|
+
#
|
1138
|
+
class Insight < Struct.new(
|
1139
|
+
:insight_id,
|
1140
|
+
:insight_type,
|
1141
|
+
:context,
|
1142
|
+
:start_time,
|
1143
|
+
:end_time,
|
1144
|
+
:severity,
|
1145
|
+
:supporting_insights,
|
1146
|
+
:description,
|
1147
|
+
:recommendations,
|
1148
|
+
:insight_data,
|
1149
|
+
:baseline_data)
|
1150
|
+
SENSITIVE = [:description]
|
1151
|
+
include Aws::Structure
|
1152
|
+
end
|
1153
|
+
|
824
1154
|
# The request failed due to an unknown error.
|
825
1155
|
#
|
826
1156
|
# @!attribute [rw] message
|
@@ -982,6 +1312,110 @@ module Aws::PI
|
|
982
1312
|
include Aws::Structure
|
983
1313
|
end
|
984
1314
|
|
1315
|
+
# @!attribute [rw] service_type
|
1316
|
+
# The Amazon Web Services service for which Performance Insights
|
1317
|
+
# returns metrics. Valid value is `RDS`.
|
1318
|
+
# @return [String]
|
1319
|
+
#
|
1320
|
+
# @!attribute [rw] identifier
|
1321
|
+
# An immutable identifier for a data source that is unique for an
|
1322
|
+
# Amazon Web Services Region. Performance Insights gathers metrics
|
1323
|
+
# from this data source. In the console, the identifier is shown as
|
1324
|
+
# *ResourceID*. When you call `DescribeDBInstances`, the identifier is
|
1325
|
+
# returned as `DbiResourceId`.
|
1326
|
+
#
|
1327
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
1328
|
+
# value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`.
|
1329
|
+
# @return [String]
|
1330
|
+
#
|
1331
|
+
# @!attribute [rw] next_token
|
1332
|
+
# An optional pagination token provided by a previous request. If this
|
1333
|
+
# parameter is specified, the response includes only records beyond
|
1334
|
+
# the token, up to the value specified by `MaxResults`.
|
1335
|
+
# @return [String]
|
1336
|
+
#
|
1337
|
+
# @!attribute [rw] max_results
|
1338
|
+
# The maximum number of items to return in the response. If more items
|
1339
|
+
# exist than the specified `MaxResults` value, a pagination token is
|
1340
|
+
# included in the response so that the remaining results can be
|
1341
|
+
# retrieved.
|
1342
|
+
# @return [Integer]
|
1343
|
+
#
|
1344
|
+
# @!attribute [rw] list_tags
|
1345
|
+
# Specifies whether or not to include the list of tags in the
|
1346
|
+
# response.
|
1347
|
+
# @return [Boolean]
|
1348
|
+
#
|
1349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListPerformanceAnalysisReportsRequest AWS API Documentation
|
1350
|
+
#
|
1351
|
+
class ListPerformanceAnalysisReportsRequest < Struct.new(
|
1352
|
+
:service_type,
|
1353
|
+
:identifier,
|
1354
|
+
:next_token,
|
1355
|
+
:max_results,
|
1356
|
+
:list_tags)
|
1357
|
+
SENSITIVE = []
|
1358
|
+
include Aws::Structure
|
1359
|
+
end
|
1360
|
+
|
1361
|
+
# @!attribute [rw] analysis_reports
|
1362
|
+
# List of reports including the report identifier, start and end time,
|
1363
|
+
# creation time, and status.
|
1364
|
+
# @return [Array<Types::AnalysisReportSummary>]
|
1365
|
+
#
|
1366
|
+
# @!attribute [rw] next_token
|
1367
|
+
# An optional pagination token provided by a previous request. If this
|
1368
|
+
# parameter is specified, the response includes only records beyond
|
1369
|
+
# the token, up to the value specified by `MaxResults`.
|
1370
|
+
# @return [String]
|
1371
|
+
#
|
1372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListPerformanceAnalysisReportsResponse AWS API Documentation
|
1373
|
+
#
|
1374
|
+
class ListPerformanceAnalysisReportsResponse < Struct.new(
|
1375
|
+
:analysis_reports,
|
1376
|
+
:next_token)
|
1377
|
+
SENSITIVE = []
|
1378
|
+
include Aws::Structure
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
# @!attribute [rw] service_type
|
1382
|
+
# List the tags for the Amazon Web Services service for which
|
1383
|
+
# Performance Insights returns metrics. Valid value is `RDS`.
|
1384
|
+
# @return [String]
|
1385
|
+
#
|
1386
|
+
# @!attribute [rw] resource_arn
|
1387
|
+
# Lists all the tags for the Amazon RDS Performance Insights resource.
|
1388
|
+
# This value is an Amazon Resource Name (ARN). For information about
|
1389
|
+
# creating an ARN, see [ Constructing an RDS Amazon Resource Name
|
1390
|
+
# (ARN)][1].
|
1391
|
+
#
|
1392
|
+
#
|
1393
|
+
#
|
1394
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing
|
1395
|
+
# @return [String]
|
1396
|
+
#
|
1397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListTagsForResourceRequest AWS API Documentation
|
1398
|
+
#
|
1399
|
+
class ListTagsForResourceRequest < Struct.new(
|
1400
|
+
:service_type,
|
1401
|
+
:resource_arn)
|
1402
|
+
SENSITIVE = []
|
1403
|
+
include Aws::Structure
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
# @!attribute [rw] tags
|
1407
|
+
# The metadata assigned to an Amazon RDS resource consisting of a
|
1408
|
+
# key-value pair.
|
1409
|
+
# @return [Array<Types::Tag>]
|
1410
|
+
#
|
1411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListTagsForResourceResponse AWS API Documentation
|
1412
|
+
#
|
1413
|
+
class ListTagsForResourceResponse < Struct.new(
|
1414
|
+
:tags)
|
1415
|
+
SENSITIVE = []
|
1416
|
+
include Aws::Structure
|
1417
|
+
end
|
1418
|
+
|
985
1419
|
# The available dimension information for a metric type.
|
986
1420
|
#
|
987
1421
|
# @!attribute [rw] metric
|
@@ -1097,6 +1531,57 @@ module Aws::PI
|
|
1097
1531
|
include Aws::Structure
|
1098
1532
|
end
|
1099
1533
|
|
1534
|
+
# This data type helps to determine Performance Insights metric to
|
1535
|
+
# render for the insight.
|
1536
|
+
#
|
1537
|
+
# @!attribute [rw] metric
|
1538
|
+
# The Performance Insights metric.
|
1539
|
+
# @return [String]
|
1540
|
+
#
|
1541
|
+
# @!attribute [rw] display_name
|
1542
|
+
# The Performance Insights metric name.
|
1543
|
+
# @return [String]
|
1544
|
+
#
|
1545
|
+
# @!attribute [rw] dimensions
|
1546
|
+
# A dimension map that contains the dimensions for this partition.
|
1547
|
+
# @return [Hash<String,String>]
|
1548
|
+
#
|
1549
|
+
# @!attribute [rw] value
|
1550
|
+
# The value of the metric. For example, `9` for `db.load.avg`.
|
1551
|
+
# @return [Float]
|
1552
|
+
#
|
1553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/PerformanceInsightsMetric AWS API Documentation
|
1554
|
+
#
|
1555
|
+
class PerformanceInsightsMetric < Struct.new(
|
1556
|
+
:metric,
|
1557
|
+
:display_name,
|
1558
|
+
:dimensions,
|
1559
|
+
:value)
|
1560
|
+
SENSITIVE = []
|
1561
|
+
include Aws::Structure
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
# The list of recommendations for the insight.
|
1565
|
+
#
|
1566
|
+
# @!attribute [rw] recommendation_id
|
1567
|
+
# The unique identifier for the recommendation.
|
1568
|
+
# @return [String]
|
1569
|
+
#
|
1570
|
+
# @!attribute [rw] recommendation_description
|
1571
|
+
# The recommendation details to help resolve the performance issue.
|
1572
|
+
# For example, `Investigate the following SQLs that contributed to
|
1573
|
+
# 100% of the total DBLoad during that time period: sql-id`
|
1574
|
+
# @return [String]
|
1575
|
+
#
|
1576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Recommendation AWS API Documentation
|
1577
|
+
#
|
1578
|
+
class Recommendation < Struct.new(
|
1579
|
+
:recommendation_id,
|
1580
|
+
:recommendation_description)
|
1581
|
+
SENSITIVE = [:recommendation_description]
|
1582
|
+
include Aws::Structure
|
1583
|
+
end
|
1584
|
+
|
1100
1585
|
# If `PartitionBy` was specified in a `DescribeDimensionKeys` request,
|
1101
1586
|
# the dimensions are returned in an array. Each element in the array
|
1102
1587
|
# specifies one dimension.
|
@@ -1182,5 +1667,105 @@ module Aws::PI
|
|
1182
1667
|
include Aws::Structure
|
1183
1668
|
end
|
1184
1669
|
|
1670
|
+
# Metadata assigned to an Amazon RDS resource consisting of a key-value
|
1671
|
+
# pair.
|
1672
|
+
#
|
1673
|
+
# @!attribute [rw] key
|
1674
|
+
# A key is the required name of the tag. The string value can be from
|
1675
|
+
# 1 to 128 Unicode characters in length and can't be prefixed with
|
1676
|
+
# `aws:` or `rds:`. The string can only contain only the set of
|
1677
|
+
# Unicode letters, digits, white-space, '\_', '.', ':', '/',
|
1678
|
+
# '=', '+', '-', '@' (Java regex:
|
1679
|
+
# `"^([\\p\{L\}\\p\{Z\}\\p\{N\}_.:/=+\\-@]*)$"`).
|
1680
|
+
# @return [String]
|
1681
|
+
#
|
1682
|
+
# @!attribute [rw] value
|
1683
|
+
# A value is the optional value of the tag. The string value can be
|
1684
|
+
# from 1 to 256 Unicode characters in length and can't be prefixed
|
1685
|
+
# with `aws:` or `rds:`. The string can only contain only the set of
|
1686
|
+
# Unicode letters, digits, white-space, '\_', '.', ':', '/',
|
1687
|
+
# '=', '+', '-', '@' (Java regex:
|
1688
|
+
# "^(\[\\\\p\\\{L\\}\\\\p\\\{Z\\}\\\\p\\\{N\\}\_.:/=+\\\\-@\]*)$").
|
1689
|
+
# @return [String]
|
1690
|
+
#
|
1691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Tag AWS API Documentation
|
1692
|
+
#
|
1693
|
+
class Tag < Struct.new(
|
1694
|
+
:key,
|
1695
|
+
:value)
|
1696
|
+
SENSITIVE = []
|
1697
|
+
include Aws::Structure
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
# @!attribute [rw] service_type
|
1701
|
+
# The Amazon Web Services service for which Performance Insights
|
1702
|
+
# returns metrics. Valid value is `RDS`.
|
1703
|
+
# @return [String]
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] resource_arn
|
1706
|
+
# The Amazon RDS Performance Insights resource that the tags are added
|
1707
|
+
# to. This value is an Amazon Resource Name (ARN). For information
|
1708
|
+
# about creating an ARN, see [ Constructing an RDS Amazon Resource
|
1709
|
+
# Name (ARN)][1].
|
1710
|
+
#
|
1711
|
+
#
|
1712
|
+
#
|
1713
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing
|
1714
|
+
# @return [String]
|
1715
|
+
#
|
1716
|
+
# @!attribute [rw] tags
|
1717
|
+
# The metadata assigned to an Amazon RDS resource consisting of a
|
1718
|
+
# key-value pair.
|
1719
|
+
# @return [Array<Types::Tag>]
|
1720
|
+
#
|
1721
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/TagResourceRequest AWS API Documentation
|
1722
|
+
#
|
1723
|
+
class TagResourceRequest < Struct.new(
|
1724
|
+
:service_type,
|
1725
|
+
:resource_arn,
|
1726
|
+
:tags)
|
1727
|
+
SENSITIVE = []
|
1728
|
+
include Aws::Structure
|
1729
|
+
end
|
1730
|
+
|
1731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/TagResourceResponse AWS API Documentation
|
1732
|
+
#
|
1733
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
1734
|
+
|
1735
|
+
# @!attribute [rw] service_type
|
1736
|
+
# List the tags for the Amazon Web Services service for which
|
1737
|
+
# Performance Insights returns metrics. Valid value is `RDS`.
|
1738
|
+
# @return [String]
|
1739
|
+
#
|
1740
|
+
# @!attribute [rw] resource_arn
|
1741
|
+
# The Amazon RDS Performance Insights resource that the tags are added
|
1742
|
+
# to. This value is an Amazon Resource Name (ARN). For information
|
1743
|
+
# about creating an ARN, see [ Constructing an RDS Amazon Resource
|
1744
|
+
# Name (ARN)][1].
|
1745
|
+
#
|
1746
|
+
#
|
1747
|
+
#
|
1748
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing
|
1749
|
+
# @return [String]
|
1750
|
+
#
|
1751
|
+
# @!attribute [rw] tag_keys
|
1752
|
+
# The metadata assigned to an Amazon RDS Performance Insights resource
|
1753
|
+
# consisting of a key-value pair.
|
1754
|
+
# @return [Array<String>]
|
1755
|
+
#
|
1756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/UntagResourceRequest AWS API Documentation
|
1757
|
+
#
|
1758
|
+
class UntagResourceRequest < Struct.new(
|
1759
|
+
:service_type,
|
1760
|
+
:resource_arn,
|
1761
|
+
:tag_keys)
|
1762
|
+
SENSITIVE = []
|
1763
|
+
include Aws::Structure
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/UntagResourceResponse AWS API Documentation
|
1767
|
+
#
|
1768
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1769
|
+
|
1185
1770
|
end
|
1186
1771
|
end
|
data/lib/aws-sdk-pi.rb
CHANGED
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-pi/customizations'
|
|
32
32
|
# structure.
|
33
33
|
#
|
34
34
|
# pi = Aws::PI::Client.new
|
35
|
-
# resp = pi.
|
35
|
+
# resp = pi.create_performance_analysis_report(params)
|
36
36
|
#
|
37
37
|
# See {Client} for more information.
|
38
38
|
#
|
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-pi/customizations'
|
|
52
52
|
# @!group service
|
53
53
|
module Aws::PI
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.49.0'
|
56
56
|
|
57
57
|
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.
|
4
|
+
version: 1.49.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: 2023-
|
11
|
+
date: 2023-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|