aws-sdk-pi 1.94.0 → 1.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pi/client.rb +78 -10
- data/lib/aws-sdk-pi/client_api.rb +36 -1
- data/lib/aws-sdk-pi/types.rb +78 -2
- data/lib/aws-sdk-pi.rb +1 -1
- data/sig/client.rbs +17 -1
- data/sig/types.rbs +18 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a85783d852526aae217ed51e8a3364ff2ad40381db62e2bc5c631b361caccb2f
|
|
4
|
+
data.tar.gz: efa31e1ae5ad15da23b6cc45ec513493a9f803e667cbb99bafee7ce371fabde5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0783fb1e6701d11eeb4ac38bbcbe0f2e4e3c08abbdf96f8ba5d4dcedb8a843d96c878fd0a9d8e55fe70728434898e134bfacd994c24a7aea9363e753d273be1b'
|
|
7
|
+
data.tar.gz: acc9cbab1f929039c4496cae348af2b83ea8a8566e1bd99e062de03097f6630703a168fa9f6fd8473431d76079736ffb45be33653a079eacf0e8b0eff28dfedf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.96.0 (2026-05-22)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added ListPerformanceAnalysisReportRecommendations API to retrieve recommendations for a performance analysis report. Added analysis configuration support to CreatePerformanceAnalysisReport for enhanced analysis types such as vacuum analysis.
|
|
8
|
+
|
|
9
|
+
1.95.0 (2026-05-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.94.0 (2026-05-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.96.0
|
data/lib/aws-sdk-pi/client.rb
CHANGED
|
@@ -199,7 +199,7 @@ module Aws::PI
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
203
203
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
204
204
|
#
|
|
205
205
|
# @option options [String] :defaults_mode ("legacy")
|
|
@@ -323,17 +323,15 @@ module Aws::PI
|
|
|
323
323
|
# @option options [String] :retry_mode ("legacy")
|
|
324
324
|
# Specifies which retry algorithm to use. Values are:
|
|
325
325
|
#
|
|
326
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
327
|
-
# no retry mode is provided.
|
|
326
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
327
|
+
# value if no retry mode is provided.
|
|
328
328
|
#
|
|
329
329
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
330
330
|
# This includes support for retry quotas, which limit the number of
|
|
331
331
|
# unsuccessful retries a client can make.
|
|
332
332
|
#
|
|
333
|
-
# * `adaptive` -
|
|
334
|
-
#
|
|
335
|
-
# throttling. This is a provisional mode that may change behavior
|
|
336
|
-
# in the future.
|
|
333
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
334
|
+
# `standard` mode along with automatic client side throttling.
|
|
337
335
|
#
|
|
338
336
|
# @option options [String] :sdk_ua_app_id
|
|
339
337
|
# A unique and opaque application ID that is appended to the
|
|
@@ -501,7 +499,7 @@ module Aws::PI
|
|
|
501
499
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
|
502
500
|
# The start time defined for the analysis report.
|
|
503
501
|
#
|
|
504
|
-
# @option params [
|
|
502
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
|
505
503
|
# The end time defined for the analysis report.
|
|
506
504
|
#
|
|
507
505
|
# @option params [Array<Types::Tag>] :tags
|
|
@@ -518,7 +516,7 @@ module Aws::PI
|
|
|
518
516
|
# service_type: "RDS", # required, accepts RDS, DOCDB
|
|
519
517
|
# identifier: "IdentifierString", # required
|
|
520
518
|
# start_time: Time.now, # required
|
|
521
|
-
# end_time: Time.now,
|
|
519
|
+
# end_time: Time.now,
|
|
522
520
|
# tags: [
|
|
523
521
|
# {
|
|
524
522
|
# key: "TagKey", # required
|
|
@@ -930,6 +928,7 @@ module Aws::PI
|
|
|
930
928
|
# resp.analysis_report.insights[0].recommendations #=> Array
|
|
931
929
|
# resp.analysis_report.insights[0].recommendations[0].recommendation_id #=> String
|
|
932
930
|
# resp.analysis_report.insights[0].recommendations[0].recommendation_description #=> String
|
|
931
|
+
# resp.analysis_report.insights[0].recommendations[0].recommendation_details #=> String
|
|
933
932
|
# resp.analysis_report.insights[0].insight_data #=> Array
|
|
934
933
|
# resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.metric #=> String
|
|
935
934
|
# resp.analysis_report.insights[0].insight_data[0].performance_insights_metric.display_name #=> String
|
|
@@ -1291,6 +1290,75 @@ module Aws::PI
|
|
|
1291
1290
|
req.send_request(options)
|
|
1292
1291
|
end
|
|
1293
1292
|
|
|
1293
|
+
# Retrieves recommendations for a performance analysis report.
|
|
1294
|
+
#
|
|
1295
|
+
# @option params [required, String] :service_type
|
|
1296
|
+
# The Amazon Web Services service for which Performance Insights returns
|
|
1297
|
+
# metrics. Valid value is `RDS`.
|
|
1298
|
+
#
|
|
1299
|
+
# @option params [required, String] :identifier
|
|
1300
|
+
# An immutable identifier for a data source that is unique for an Amazon
|
|
1301
|
+
# Web Services Region. Performance Insights gathers metrics from this
|
|
1302
|
+
# data source. In the console, the identifier is shown as *ResourceID*.
|
|
1303
|
+
# When you call `DescribeDBInstances`, the identifier is returned as
|
|
1304
|
+
# `DbiResourceId`.
|
|
1305
|
+
#
|
|
1306
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
|
1307
|
+
# value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`.
|
|
1308
|
+
#
|
|
1309
|
+
# @option params [required, String] :analysis_report_id
|
|
1310
|
+
# A unique identifier of the created analysis report. For example,
|
|
1311
|
+
# `report-12345678901234567`
|
|
1312
|
+
#
|
|
1313
|
+
# @option params [Array<String>] :recommendation_ids
|
|
1314
|
+
# A list of recommendation identifiers to filter the results.
|
|
1315
|
+
#
|
|
1316
|
+
# @option params [Integer] :max_results
|
|
1317
|
+
# The maximum number of items to return in the response. If more items
|
|
1318
|
+
# exist than the specified `MaxResults` value, a pagination token is
|
|
1319
|
+
# included in the response so that the remaining results can be
|
|
1320
|
+
# retrieved.
|
|
1321
|
+
#
|
|
1322
|
+
# @option params [String] :next_token
|
|
1323
|
+
# An optional pagination token provided by a previous request. If this
|
|
1324
|
+
# parameter is specified, the response includes only records beyond the
|
|
1325
|
+
# token, up to the value specified by `MaxResults`.
|
|
1326
|
+
#
|
|
1327
|
+
# @return [Types::ListPerformanceAnalysisReportRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1328
|
+
#
|
|
1329
|
+
# * {Types::ListPerformanceAnalysisReportRecommendationsResponse#recommendations #recommendations} => Array<Types::Recommendation>
|
|
1330
|
+
# * {Types::ListPerformanceAnalysisReportRecommendationsResponse#next_token #next_token} => String
|
|
1331
|
+
#
|
|
1332
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1333
|
+
#
|
|
1334
|
+
# @example Request syntax with placeholder values
|
|
1335
|
+
#
|
|
1336
|
+
# resp = client.list_performance_analysis_report_recommendations({
|
|
1337
|
+
# service_type: "RDS", # required, accepts RDS, DOCDB
|
|
1338
|
+
# identifier: "IdentifierString", # required
|
|
1339
|
+
# analysis_report_id: "AnalysisReportId", # required
|
|
1340
|
+
# recommendation_ids: ["String"],
|
|
1341
|
+
# max_results: 1,
|
|
1342
|
+
# next_token: "NextToken",
|
|
1343
|
+
# })
|
|
1344
|
+
#
|
|
1345
|
+
# @example Response structure
|
|
1346
|
+
#
|
|
1347
|
+
# resp.recommendations #=> Array
|
|
1348
|
+
# resp.recommendations[0].recommendation_id #=> String
|
|
1349
|
+
# resp.recommendations[0].recommendation_description #=> String
|
|
1350
|
+
# resp.recommendations[0].recommendation_details #=> String
|
|
1351
|
+
# resp.next_token #=> String
|
|
1352
|
+
#
|
|
1353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListPerformanceAnalysisReportRecommendations AWS API Documentation
|
|
1354
|
+
#
|
|
1355
|
+
# @overload list_performance_analysis_report_recommendations(params = {})
|
|
1356
|
+
# @param [Hash] params ({})
|
|
1357
|
+
def list_performance_analysis_report_recommendations(params = {}, options = {})
|
|
1358
|
+
req = build_request(:list_performance_analysis_report_recommendations, params)
|
|
1359
|
+
req.send_request(options)
|
|
1360
|
+
end
|
|
1361
|
+
|
|
1294
1362
|
# Lists all the analysis reports created for the DB instance. The
|
|
1295
1363
|
# reports are sorted based on the start time of each report.
|
|
1296
1364
|
#
|
|
@@ -1506,7 +1574,7 @@ module Aws::PI
|
|
|
1506
1574
|
tracer: tracer
|
|
1507
1575
|
)
|
|
1508
1576
|
context[:gem_name] = 'aws-sdk-pi'
|
|
1509
|
-
context[:gem_version] = '1.
|
|
1577
|
+
context[:gem_version] = '1.96.0'
|
|
1510
1578
|
Seahorse::Client::Request.new(handlers, context)
|
|
1511
1579
|
end
|
|
1512
1580
|
|
|
@@ -77,6 +77,8 @@ module Aws::PI
|
|
|
77
77
|
ListAvailableResourceDimensionsResponse = Shapes::StructureShape.new(name: 'ListAvailableResourceDimensionsResponse')
|
|
78
78
|
ListAvailableResourceMetricsRequest = Shapes::StructureShape.new(name: 'ListAvailableResourceMetricsRequest')
|
|
79
79
|
ListAvailableResourceMetricsResponse = Shapes::StructureShape.new(name: 'ListAvailableResourceMetricsResponse')
|
|
80
|
+
ListPerformanceAnalysisReportRecommendationsRequest = Shapes::StructureShape.new(name: 'ListPerformanceAnalysisReportRecommendationsRequest')
|
|
81
|
+
ListPerformanceAnalysisReportRecommendationsResponse = Shapes::StructureShape.new(name: 'ListPerformanceAnalysisReportRecommendationsResponse')
|
|
80
82
|
ListPerformanceAnalysisReportsRequest = Shapes::StructureShape.new(name: 'ListPerformanceAnalysisReportsRequest')
|
|
81
83
|
ListPerformanceAnalysisReportsResponse = Shapes::StructureShape.new(name: 'ListPerformanceAnalysisReportsResponse')
|
|
82
84
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
@@ -97,6 +99,7 @@ module Aws::PI
|
|
|
97
99
|
PerformanceInsightsMetric = Shapes::StructureShape.new(name: 'PerformanceInsightsMetric')
|
|
98
100
|
PeriodAlignment = Shapes::StringShape.new(name: 'PeriodAlignment')
|
|
99
101
|
Recommendation = Shapes::StructureShape.new(name: 'Recommendation')
|
|
102
|
+
RecommendationIdList = Shapes::ListShape.new(name: 'RecommendationIdList')
|
|
100
103
|
RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
|
|
101
104
|
RequestString = Shapes::StringShape.new(name: 'RequestString')
|
|
102
105
|
RequestedDimensionList = Shapes::ListShape.new(name: 'RequestedDimensionList')
|
|
@@ -151,7 +154,7 @@ module Aws::PI
|
|
|
151
154
|
CreatePerformanceAnalysisReportRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
|
152
155
|
CreatePerformanceAnalysisReportRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
|
153
156
|
CreatePerformanceAnalysisReportRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: ISOTimestamp, required: true, location_name: "StartTime"))
|
|
154
|
-
CreatePerformanceAnalysisReportRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp,
|
|
157
|
+
CreatePerformanceAnalysisReportRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: ISOTimestamp, location_name: "EndTime"))
|
|
155
158
|
CreatePerformanceAnalysisReportRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
156
159
|
CreatePerformanceAnalysisReportRequest.struct_class = Types::CreatePerformanceAnalysisReportRequest
|
|
157
160
|
|
|
@@ -332,6 +335,18 @@ module Aws::PI
|
|
|
332
335
|
ListAvailableResourceMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
333
336
|
ListAvailableResourceMetricsResponse.struct_class = Types::ListAvailableResourceMetricsResponse
|
|
334
337
|
|
|
338
|
+
ListPerformanceAnalysisReportRecommendationsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
|
339
|
+
ListPerformanceAnalysisReportRecommendationsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
|
340
|
+
ListPerformanceAnalysisReportRecommendationsRequest.add_member(:analysis_report_id, Shapes::ShapeRef.new(shape: AnalysisReportId, required: true, location_name: "AnalysisReportId"))
|
|
341
|
+
ListPerformanceAnalysisReportRecommendationsRequest.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, location_name: "RecommendationIds"))
|
|
342
|
+
ListPerformanceAnalysisReportRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
343
|
+
ListPerformanceAnalysisReportRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
344
|
+
ListPerformanceAnalysisReportRecommendationsRequest.struct_class = Types::ListPerformanceAnalysisReportRecommendationsRequest
|
|
345
|
+
|
|
346
|
+
ListPerformanceAnalysisReportRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: RecommendationList, location_name: "Recommendations"))
|
|
347
|
+
ListPerformanceAnalysisReportRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
348
|
+
ListPerformanceAnalysisReportRecommendationsResponse.struct_class = Types::ListPerformanceAnalysisReportRecommendationsResponse
|
|
349
|
+
|
|
335
350
|
ListPerformanceAnalysisReportsRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, required: true, location_name: "ServiceType"))
|
|
336
351
|
ListPerformanceAnalysisReportsRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: IdentifierString, required: true, location_name: "Identifier"))
|
|
337
352
|
ListPerformanceAnalysisReportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
@@ -388,8 +403,11 @@ module Aws::PI
|
|
|
388
403
|
|
|
389
404
|
Recommendation.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationId"))
|
|
390
405
|
Recommendation.add_member(:recommendation_description, Shapes::ShapeRef.new(shape: MarkdownString, location_name: "RecommendationDescription"))
|
|
406
|
+
Recommendation.add_member(:recommendation_details, Shapes::ShapeRef.new(shape: MarkdownString, location_name: "RecommendationDetails"))
|
|
391
407
|
Recommendation.struct_class = Types::Recommendation
|
|
392
408
|
|
|
409
|
+
RecommendationIdList.member = Shapes::ShapeRef.new(shape: String)
|
|
410
|
+
|
|
393
411
|
RecommendationList.member = Shapes::ShapeRef.new(shape: Recommendation)
|
|
394
412
|
|
|
395
413
|
RequestedDimensionList.member = Shapes::ShapeRef.new(shape: SanitizedString)
|
|
@@ -579,6 +597,23 @@ module Aws::PI
|
|
|
579
597
|
)
|
|
580
598
|
end)
|
|
581
599
|
|
|
600
|
+
api.add_operation(:list_performance_analysis_report_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
|
601
|
+
o.name = "ListPerformanceAnalysisReportRecommendations"
|
|
602
|
+
o.http_method = "POST"
|
|
603
|
+
o.http_request_uri = "/"
|
|
604
|
+
o.input = Shapes::ShapeRef.new(shape: ListPerformanceAnalysisReportRecommendationsRequest)
|
|
605
|
+
o.output = Shapes::ShapeRef.new(shape: ListPerformanceAnalysisReportRecommendationsResponse)
|
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgumentException)
|
|
607
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServiceError)
|
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
|
609
|
+
o[:pager] = Aws::Pager.new(
|
|
610
|
+
limit_key: "max_results",
|
|
611
|
+
tokens: {
|
|
612
|
+
"next_token" => "next_token"
|
|
613
|
+
}
|
|
614
|
+
)
|
|
615
|
+
end)
|
|
616
|
+
|
|
582
617
|
api.add_operation(:list_performance_analysis_reports, Seahorse::Model::Operation.new.tap do |o|
|
|
583
618
|
o.name = "ListPerformanceAnalysisReports"
|
|
584
619
|
o.http_method = "POST"
|
data/lib/aws-sdk-pi/types.rb
CHANGED
|
@@ -1381,6 +1381,76 @@ module Aws::PI
|
|
|
1381
1381
|
include Aws::Structure
|
|
1382
1382
|
end
|
|
1383
1383
|
|
|
1384
|
+
# @!attribute [rw] service_type
|
|
1385
|
+
# The Amazon Web Services service for which Performance Insights
|
|
1386
|
+
# returns metrics. Valid value is `RDS`.
|
|
1387
|
+
# @return [String]
|
|
1388
|
+
#
|
|
1389
|
+
# @!attribute [rw] identifier
|
|
1390
|
+
# An immutable identifier for a data source that is unique for an
|
|
1391
|
+
# Amazon Web Services Region. Performance Insights gathers metrics
|
|
1392
|
+
# from this data source. In the console, the identifier is shown as
|
|
1393
|
+
# *ResourceID*. When you call `DescribeDBInstances`, the identifier is
|
|
1394
|
+
# returned as `DbiResourceId`.
|
|
1395
|
+
#
|
|
1396
|
+
# To use a DB instance as a data source, specify its `DbiResourceId`
|
|
1397
|
+
# value. For example, specify `db-ABCDEFGHIJKLMNOPQRSTU1VW2X`.
|
|
1398
|
+
# @return [String]
|
|
1399
|
+
#
|
|
1400
|
+
# @!attribute [rw] analysis_report_id
|
|
1401
|
+
# A unique identifier of the created analysis report. For example,
|
|
1402
|
+
# `report-12345678901234567`
|
|
1403
|
+
# @return [String]
|
|
1404
|
+
#
|
|
1405
|
+
# @!attribute [rw] recommendation_ids
|
|
1406
|
+
# A list of recommendation identifiers to filter the results.
|
|
1407
|
+
# @return [Array<String>]
|
|
1408
|
+
#
|
|
1409
|
+
# @!attribute [rw] max_results
|
|
1410
|
+
# The maximum number of items to return in the response. If more items
|
|
1411
|
+
# exist than the specified `MaxResults` value, a pagination token is
|
|
1412
|
+
# included in the response so that the remaining results can be
|
|
1413
|
+
# retrieved.
|
|
1414
|
+
# @return [Integer]
|
|
1415
|
+
#
|
|
1416
|
+
# @!attribute [rw] next_token
|
|
1417
|
+
# An optional pagination token provided by a previous request. If this
|
|
1418
|
+
# parameter is specified, the response includes only records beyond
|
|
1419
|
+
# the token, up to the value specified by `MaxResults`.
|
|
1420
|
+
# @return [String]
|
|
1421
|
+
#
|
|
1422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListPerformanceAnalysisReportRecommendationsRequest AWS API Documentation
|
|
1423
|
+
#
|
|
1424
|
+
class ListPerformanceAnalysisReportRecommendationsRequest < Struct.new(
|
|
1425
|
+
:service_type,
|
|
1426
|
+
:identifier,
|
|
1427
|
+
:analysis_report_id,
|
|
1428
|
+
:recommendation_ids,
|
|
1429
|
+
:max_results,
|
|
1430
|
+
:next_token)
|
|
1431
|
+
SENSITIVE = []
|
|
1432
|
+
include Aws::Structure
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1435
|
+
# @!attribute [rw] recommendations
|
|
1436
|
+
# The list of recommendations for the analysis report.
|
|
1437
|
+
# @return [Array<Types::Recommendation>]
|
|
1438
|
+
#
|
|
1439
|
+
# @!attribute [rw] next_token
|
|
1440
|
+
# An optional pagination token provided by a previous request. If this
|
|
1441
|
+
# parameter is specified, the response includes only records beyond
|
|
1442
|
+
# the token, up to the value specified by `MaxResults`.
|
|
1443
|
+
# @return [String]
|
|
1444
|
+
#
|
|
1445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListPerformanceAnalysisReportRecommendationsResponse AWS API Documentation
|
|
1446
|
+
#
|
|
1447
|
+
class ListPerformanceAnalysisReportRecommendationsResponse < Struct.new(
|
|
1448
|
+
:recommendations,
|
|
1449
|
+
:next_token)
|
|
1450
|
+
SENSITIVE = []
|
|
1451
|
+
include Aws::Structure
|
|
1452
|
+
end
|
|
1453
|
+
|
|
1384
1454
|
# @!attribute [rw] service_type
|
|
1385
1455
|
# The Amazon Web Services service for which Performance Insights
|
|
1386
1456
|
# returns metrics. Valid value is `RDS`.
|
|
@@ -1660,12 +1730,18 @@ module Aws::PI
|
|
|
1660
1730
|
# 100% of the total DBLoad during that time period: sql-id`
|
|
1661
1731
|
# @return [String]
|
|
1662
1732
|
#
|
|
1733
|
+
# @!attribute [rw] recommendation_details
|
|
1734
|
+
# Detailed information about the recommendation, including steps to
|
|
1735
|
+
# resolve the performance issue.
|
|
1736
|
+
# @return [String]
|
|
1737
|
+
#
|
|
1663
1738
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/Recommendation AWS API Documentation
|
|
1664
1739
|
#
|
|
1665
1740
|
class Recommendation < Struct.new(
|
|
1666
1741
|
:recommendation_id,
|
|
1667
|
-
:recommendation_description
|
|
1668
|
-
|
|
1742
|
+
:recommendation_description,
|
|
1743
|
+
:recommendation_details)
|
|
1744
|
+
SENSITIVE = [:recommendation_description, :recommendation_details]
|
|
1669
1745
|
include Aws::Structure
|
|
1670
1746
|
end
|
|
1671
1747
|
|
data/lib/aws-sdk-pi.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -88,7 +88,7 @@ module Aws
|
|
|
88
88
|
service_type: ("RDS" | "DOCDB"),
|
|
89
89
|
identifier: ::String,
|
|
90
90
|
start_time: ::Time,
|
|
91
|
-
end_time: ::Time,
|
|
91
|
+
?end_time: ::Time,
|
|
92
92
|
?tags: Array[
|
|
93
93
|
{
|
|
94
94
|
key: ::String,
|
|
@@ -245,6 +245,22 @@ module Aws
|
|
|
245
245
|
) -> _ListAvailableResourceMetricsResponseSuccess
|
|
246
246
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAvailableResourceMetricsResponseSuccess
|
|
247
247
|
|
|
248
|
+
interface _ListPerformanceAnalysisReportRecommendationsResponseSuccess
|
|
249
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPerformanceAnalysisReportRecommendationsResponse]
|
|
250
|
+
def recommendations: () -> ::Array[Types::Recommendation]
|
|
251
|
+
def next_token: () -> ::String
|
|
252
|
+
end
|
|
253
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PI/Client.html#list_performance_analysis_report_recommendations-instance_method
|
|
254
|
+
def list_performance_analysis_report_recommendations: (
|
|
255
|
+
service_type: ("RDS" | "DOCDB"),
|
|
256
|
+
identifier: ::String,
|
|
257
|
+
analysis_report_id: ::String,
|
|
258
|
+
?recommendation_ids: Array[::String],
|
|
259
|
+
?max_results: ::Integer,
|
|
260
|
+
?next_token: ::String
|
|
261
|
+
) -> _ListPerformanceAnalysisReportRecommendationsResponseSuccess
|
|
262
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPerformanceAnalysisReportRecommendationsResponseSuccess
|
|
263
|
+
|
|
248
264
|
interface _ListPerformanceAnalysisReportsResponseSuccess
|
|
249
265
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListPerformanceAnalysisReportsResponse]
|
|
250
266
|
def analysis_reports: () -> ::Array[Types::AnalysisReportSummary]
|
data/sig/types.rbs
CHANGED
|
@@ -246,6 +246,22 @@ module Aws::PI
|
|
|
246
246
|
SENSITIVE: []
|
|
247
247
|
end
|
|
248
248
|
|
|
249
|
+
class ListPerformanceAnalysisReportRecommendationsRequest
|
|
250
|
+
attr_accessor service_type: ("RDS" | "DOCDB")
|
|
251
|
+
attr_accessor identifier: ::String
|
|
252
|
+
attr_accessor analysis_report_id: ::String
|
|
253
|
+
attr_accessor recommendation_ids: ::Array[::String]
|
|
254
|
+
attr_accessor max_results: ::Integer
|
|
255
|
+
attr_accessor next_token: ::String
|
|
256
|
+
SENSITIVE: []
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class ListPerformanceAnalysisReportRecommendationsResponse
|
|
260
|
+
attr_accessor recommendations: ::Array[Types::Recommendation]
|
|
261
|
+
attr_accessor next_token: ::String
|
|
262
|
+
SENSITIVE: []
|
|
263
|
+
end
|
|
264
|
+
|
|
249
265
|
class ListPerformanceAnalysisReportsRequest
|
|
250
266
|
attr_accessor service_type: ("RDS" | "DOCDB")
|
|
251
267
|
attr_accessor identifier: ::String
|
|
@@ -308,7 +324,8 @@ module Aws::PI
|
|
|
308
324
|
class Recommendation
|
|
309
325
|
attr_accessor recommendation_id: ::String
|
|
310
326
|
attr_accessor recommendation_description: ::String
|
|
311
|
-
|
|
327
|
+
attr_accessor recommendation_details: ::String
|
|
328
|
+
SENSITIVE: [:recommendation_description, :recommendation_details]
|
|
312
329
|
end
|
|
313
330
|
|
|
314
331
|
class ResponsePartitionKey
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.96.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.248.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.248.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|